redhat-developer / redhat-developer/vscode-xml

outline only auto-updating on errors, but not on "all fine"

Open
#359 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
328
Forks
101
Avg merge
1d 17h
Merged PRs (30d)
7

Description

setup: xml file with an xmlns entry that is matched by xml catalog - and validates without errors.
opened the catalog file in another tab, break the matching entry, save.

result: problems pane show the error, when switching to the xml file the outline shows the error markers on the appropriate places which is perfect.

Then switch back and unbreak the catalog entry, save.
result: problem pane is empty

issue: when now switching to the xml file the outline still contain the error markers.
workaround: add a whitespace and remove it, outline is updated (only reported because it gets auto-updated with the error, just not when the error vanishes

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

Reproduce the catalog-validation sequence described in the issue, then trace the XML outline and diagnostics refresh entry points in the VS Code extension. Done means clearing the catalog error also removes the stale error markers from the outline without editing the XML file; the issue names no specific files or tests.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
devtools
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
42/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.