rokucommunity / rokucommunity/vscode-brightscript-language
Support inheriting launch config
- Dominant language
- TypeScript
- Stars
- 132
- Forks
- 60
- Avg merge
- 13h 53m
- Merged PRs (30d)
- 20
Description
Many launch configs share a lot of code. We should support inheriting launch config data. Something like this:
{
"version": "0.2.0",
"configurations": [
{
"type": "brightscript",
"name": "Base Launch Config",
"host": "192.168.1.123",
"password": "SuperSecret"
},
{
"type": "brightscript",
"name": "Dev",
"extends": "Base Launch Config",
"rootDir": "${workspaceFolder}/dev"
}
]
}
In this situation, the "extends" key for the second launch configuration would inherit all of the keys from the first launch config entry, and then override with any keys that it has (typical json Object.assign() functionality)
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
Review linked pull request #786 first, since implementation is already underway. Use the issue's launch configuration example as the behavioral reference: an extends configuration should inherit the base keys and override them with its own values.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- devtools
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 25/100