quarto-dev / quarto-dev/quarto
VS Code Extension: Formatter forces 4 space indentation
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
As best I can tell, formatting a .qmd file with the Quarto extension will reformat everything to four space indentation even if tabSize is configured to 2 for the document (or for the entire [quarto] language).
(Formatting the same files with the language mode set to R Markdown will produce no such issue.)
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
Start by reproducing formatting for a .qmd file in the Quarto VS Code extension with tabSize set to 2, then compare the result with the R Markdown language mode. Trace the formatter entry point responsible for the .qmd behavior; done means formatting respects the document or [quarto] tabSize setting instead of forcing four spaces.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript, vscode
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100