microsoft / microsoft/vscode-cpptools
Extend environment variable
Open
Nobody has claimed this yet.
debugger
Feature Request
- Dominant language
- TypeScript
- Stars
- 6.2k
- Forks
- 1.7k
- Avg merge
- 14h 46m
- Merged PRs (30d)
- 61
Description
Type: Debugger
OS and Version: Windows 10 1809
VS Code Version: 1.36.1
C/C++ Extension Version: 0.24.0
Would be great to be able to extend environment variable like this:
"environment": [
{"name": "test_env_var", "value": "A;${env:test_env_var}"},
{"name": "test_env_var", "value": "B;${env:test_env_var}"},
{"name": "test_env_var", "value": "C;${env:test_env_var}"},
],
so final "test_env_var" = "C;B;A;", now it results in "C;"
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 by locating the C/C++ extension's debugger environment handling and how ${env:...} substitutions are evaluated; compare the current behavior with the Windows example. Done means repeated definitions can reference the previous value and produce the requested C;B;A; result, with coverage for this case.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100