rust-lang / rust-lang/rust-analyzer
Link formatting issue in message popup
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 16.9k
- Forks
- 2.2k
- Avg merge
- 1d 12h
- Merged PRs (30d)
- 72
Description
Found a minor bug related to the rust-analyzer popup showing when a project doesn't have a Cargo.toml file. See the screenshot below:
It looks like the message is expected to be rendered as Markdown (the linkedProjects link) but it's showing as plain text instead.
rust-analyzer version: (eg. output of "rust-analyzer: Show RA Version" command, accessible in VSCode via Ctrl/⌘+Shift+P)
rust-analyzer version: 0.3.1958-standalone (5bf2f85c8 2024-05-09)
rustc version: (eg. output of rustc -V)
rustc 1.77.2 (25ef9e3d8 2024-04-09)
editor or extension: (eg. VSCode, Vim, Emacs, etc. For VSCode users, specify your extension version; for users of other editors, provide the distribution if applicable)
VS Code
relevant settings: (eg. client settings, or environment variables like CARGO, RUSTC, RUSTUP_HOME or CARGO_HOME)
repository link (if public, optional): (eg. rust-analyzer)
code snippet to reproduce:
// add your code here
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
Reproduce the VS Code rust-analyzer popup in a project without a Cargo.toml file and trace how the linkedProjects message is rendered. Check the popup's Markdown handling and verify that the link is displayed as a clickable Markdown link rather than plain text.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100