Support `--message-format=json` for inline IDE hints with Rust Analyzer
Open
Nobody has claimed this yet.
- Dominant language
- Rust
- Stars
- 3.4k
- Forks
- 125
- PR merge metrics
- No merged PRs in 30d
Description
Being able to pass --message-format=json would allow us to specify cargo gpu check --message-format=json as a check command and then the Rust Analyzer plugin would be able to read the output of this and show the errors and warnings within the IDE as underlines. This would be very useful for development.
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
No file or test is named; start at the cargo gpu check command and trace how it parses options and emits diagnostics. Compare the requested --message-format=json output with the format Rust Analyzer expects, then verify that errors and warnings remain machine-readable for inline IDE hints.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, compilers, developer-experience
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 42/100