rust-lang / rust-lang/rust-analyzer

Generated launch configuration contains invalid property

Open
#8,466 6 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

A-vscode C-bug S-actionable
Dominant language
Rust
Stars
16.9k
Forks
2.2k
Avg merge
1d 12h
Merged PRs (30d)
72

Description

After executing the “Generate launch configuration” command, a new configuration is added to .vscode/launch.json, but it contains an env property which is marked “not allowed” by Visual Studio Code.

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

Start by locating the implementation of the “Generate launch configuration” command and the code that writes .vscode/launch.json. Inspect how the env property is produced, then verify the generated configuration against Visual Studio Code's accepted launch properties. Done means the command no longer creates a configuration with an invalid property.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust, vscode
Domain
tooling
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.