redhat-developer / redhat-developer/vscode-xml

Improve attribute formatting preferences

Open
#273 1 comment 2 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

The VS Code HTML extension provides many different ways to customize attribute formatting:
image

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

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.