mblode / mblode/vscode-pretty-formatter
Can not change indentation size, always 4 spaces
Open
Beginner friendly
Nobody has claimed this yet.
formatter
- Dominant language
- JavaScript
- Stars
- 26
- Forks
- 8
- PR merge metrics
- No merged PRs in 30d
Description
I have setted 2 spaces as indentation, but after format document, the indent appears as 4 spaces
how can I force to use 2 spaces instead 4 ?
thank you
Contributor guide
No contributing guide indexed for this repository
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
Reproduce the issue in VS Code with indentation configured to 2 spaces, then trace the extension's formatting path and its Pretty Diff settings. Confirm how the configured indentation size reaches formatting, and verify that formatted documents consistently use 2 spaces rather than 4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 62/100