Path Server is a fast and lightweight Language Server Protocol (LSP) implementation designed to provide path completion and navigation, offering a Path Intellisense experience.
- Path Completion: Provides real-time suggestions for both relative and absolute paths.
- Fast and Lightweight: Native-level response speed and consume only ~10MB memory with very low cpu usage.
- Language Compatibility: Support all text files discarding programming languages.
- Cross IDEs: Works seamlessly with any editor that supports the Language Server Protocol (e.g., VS Code, Zed, Neovim).
| Platform | x86_64 | Aarch64 |
|---|---|---|
| Windows | Build & Test | Build Only |
| Linux | Build & Test | Build Only |
| macOS | Build Only | Build & Test |
You can use it by installing specified extension for your editor.
Search for Path Server in the VS Code extensions marketplace or download .vsix file and install it manually. Start typing a path prefix like ./, / or C: in any file to trigger suggestions.
You can toggle Output panel and choose Path Server Language Server to view detailed logs.
Search for Path Server in the Zed extensions catalog. Start typing a path prefix like ./, / or C: in any file to trigger suggestions.
If you are using VS Code, you can open this repository with multiple root folders by open .vscode/path-server.code-workspace file.
cargo build --releasecargo testcargo fmt --all -- --check
cargo clippy -- -D warningscargo fix --allow-dirty
cargo clippy --fix --allow-dirtycd extensions/zed- Open Zed editor.
- Toggle the Command Palette (
Ctrl + Shift + Pon Windows/Linux,Cmd + Shift + Pon macOS). - Run
zed: install dev extension. - Select this path-server/extensions/zed folder.
cd extensions/zed- Open workspace with VS Code (Use VS Code to open
.vscode/path-server.code-workspace) - Toggle the Command Palette (
Ctrl + Shift + Pon Windows/Linux,Cmd + Shift + Pon macOS). - Run
Debug: Select and Start Debugging. - Select
Run Extension (VS Code Extension)
- Support relative and absolute path completion.
- Automatically trigger next completion.
- Support configurations.
- Implement "Go to Definition" for file paths.
- Support path highlight.
- Support remote URL.
Distributed under the terms of the Apache 2.0 license.