Expandable IDREFs
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 30/100
Research direction
Start by locating the schema-validation path and the tree rendering logic for IDREF/IDREFS and element-only tags. Confirm how referenced IDs are resolved, then define completion as showing resolved referenced nodes inside an expandable folder while preserving normal attribute or element behavior when no target is found.
Written by the indexing model from the issue text.
Description
The ID and IDREF/IDREFS XML data types are often used to "point" to data that exists elsewhere. It is often advantageous to define something once and reference it as need. However, this introduces a level of indirection that makes it difficult to quickly inspect XML and determine its logical meaning.
I am proposing an enhancement to XmlNotepad to address this. When a IDREF/IDREFS is encountered that points to one or more defined IDs, instead of appearing as an attribute/element, it would appear as a folder (like element-only tags currently do). This folder would contain the the tags referenced by IDREF/IDREFs.
Access to the nodes could be handled by constructing a Dictionary<IDREF, XmlNode> during schema validation.
- Dominant language
- C#
- Stars
- 1.2k
- Forks
- 240
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
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.
More from microsoft/XmlNotepad
-
Difficulty 3/5 1-2 days Newbie friendliness 45/100
microsoft/XmlNotepad#532 ·
-
Difficulty 4/5 3-5 days Newbie friendliness 42/100
microsoft/XmlNotepad#517 · 6 comments ·
-
Difficulty 4/5 3-5 days Newbie friendliness 48/100
microsoft/XmlNotepad#500 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
microsoft/XmlNotepad#499 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 32/100
microsoft/XmlNotepad#495 · 1 comment ·
All issues in microsoft/XmlNotepad
Similar issues
-
effort:S P3 refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
nightscout/nocturne#1532 ·
-
core dependencies
Difficulty 1/5 Under an hour Newbie friendliness 80/100
-
documentation
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
C#/.NET Roslyn LSP Open
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
DotNetNext/SqlSugar#1458 ·