redhat-developer / redhat-developer/yaml-language-server
Indentation of list
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 1.5k
- Forks
- 352
- Avg merge
- 2d 7h
- Merged PRs (30d)
- 11
Description
VSCODE Settings
"[yaml]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "redhat.vscode-yaml",
"editor.tabSize": 2,
"editor.detectIndentation": true,
"editor.insertSpaces": true,
"editor.autoIndent": false
},
apparently the tabSize must be greater than 0... How about a list specific tab size because yamllint is a serious pain but useful tool and the automatic indention of list (unnecessarily) is a headache.
Current outcome when editor.tabSize is 2

desired outcome when edition.listTabSize is 0 (yes I am requesting this key be added)

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 tracing how the language server handles VS Code's editor.tabSize and indentation settings. Determine where a list-specific setting would be read and applied; the work is done when a value of 0 prevents extra list indentation while existing behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- developer-experience, tooling
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100