Rust-GPU / Rust-GPU/rust-gpu

Support `--message-format=json` for inline IDE hints with Rust Analyzer

Open
#571 1 comment 2 reactions 0 assignees View on GitHub

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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.