redhat-developer / redhat-developer/vscode-xml
Programmatically enable linked editing range
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 328
- Forks
- 101
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 7
Description
If we enable linked editing range for all xml documents by contributing the following setting:
"[xml]": {
"editor.linkedEditing": true,
},
Then it will override whatever the user sets. However, if we enable the setting through the VS Code API in TypeScript, we can first check if the user has explicitly enabled/disabled it first, so that we don't override what the user has set.
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
Start by locating the TypeScript code that registers or initializes XML editor settings, then review the VS Code API for checking whether editor.linkedEditing is explicitly configured. Enable linked editing for XML only when the user has not set a value, and verify that explicit true or false choices remain unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100