redhat-developer / redhat-developer/vscode-xml
Improve attribute formatting preferences
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 328
- Forks
- 101
- Avg merge
- 1d 17h
- Merged PRs (30d)
- 7
Description
The VS Code HTML extension provides many different ways to customize attribute formatting:

It would be great if vscode-xml also had an enum preference providing the same features as well.
Maybe the xml.format.splitAttributes: true/false preference could be an enum value for the new preference.
Issue: https://github.com/redhat-developer/vscode-xml/issues/272 may be a subset of this issue.
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 xml.format.splitAttributes preference and the XML formatter settings, then compare the requested options with the VS Code HTML extension behavior shown in the issue. Done means vscode-xml exposes an enum preference covering the requested attribute-formatting modes while retaining the existing splitAttributes behavior as appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100