redhat-developer / redhat-developer/vscode-xml

Request: Support EditorConfig

Open
#296 4 comments 5 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

It would be nice to be able to define all code style rules in an EditorConfig file, not just the basic ones like line length, but also including extension XML settings like xml.format.splitAttributes and xml.format.enforceQuoteStyle and others (as Microsoft has added EditorConfig code style extensions for .NET).

As it is, we currently have to maintain most code styles in an .editorconfig file, and our XML styles in a .vscode/settings.json file.

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 reviewing the existing .editorconfig and .vscode/settings.json configuration described in the issue, then trace how XML formatting settings are currently read. Done means the XML style options, including xml.format.splitAttributes and xml.format.enforceQuoteStyle, can be defined through EditorConfig rather than maintained separately.

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
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.