rust-lang / rust-lang/rust-analyzer
Equivalent of clangd's `--path-mappings` ?
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
clangd has an option --path-mappings. The use case is when the client and server see different paths; possibly because the editor is running remotely, or it's outside of a sandboxed environment where clangd is running.
As far as I can tell rust-analyzer has no equivalent. Am I correct? Is there another solution for this use case?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
The issue names clangd's --path-mappings and a client/server setup where paths differ, but it names no rust-analyzer file, test, or entry point. First establish whether rust-analyzer already has a configuration for this use case; a complete change would need a documented, tested solution for remote or sandboxed path translation.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100