redhat-developer / redhat-developer/vscode-xml

Programmatically enable linked editing range

Open
#827 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement
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

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 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.