redhat-developer / redhat-developer/vscode-xml

Formatting too soon - "There is no formatter for 'xml' files installed"

Open
#674 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

  1. Open *.xml file with VS Code
  2. Format file using SHIFT + ALT + F
  3. OMG my XML formatter is broken? 😨

image

  1. Cancel and be patient, repeat formatting
  2. At around 1m15, different misleading popup 😨

image

  1. Cancel, wait and repeat formatting
  2. At around 1m20, formatting is ok

--

  1. It would be great if I can prioritize formatting extensions to load first (will check for this)
  2. It would be great if I would get a more adequate message indicating the registered XML formatter is not loaded yet

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 delay in VS Code by opening an XML file and invoking formatting before the XML formatter has loaded. Trace the formatter extension-loading behavior and define completion as a clear message while loading, followed by successful formatting once the formatter is available.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript, vscode
Domain
tooling
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.