quarto-dev / quarto-dev/quarto
VS Code: Format ColumnWrap on Save
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 645
- Forks
- 62
- Avg merge
- 17h 42m
- Merged PRs (30d)
- 13
Description
Hi,
I'm fairly new to Quarto, and I can't seem to figure out a way to wrap .qmd files on Save.
The desired output is as follows (line breaks at 72 characters):
Which I can achieve by opening the file in Visual Mode with these settings in my .vscode/settings.json file:
"quarto.visualEditor.markdownWrap": "column",
"quarto.visualEditor.markdownWrapColumn": 72,
Is there a way to achieve this line break formatting on save instead having to open the file in Visual Mode?
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 with the .vscode/settings.json options for quarto.visualEditor.markdownWrap and quarto.visualEditor.markdownWrapColumn, then trace how the VS Code integration applies them in Visual Mode. Determine whether that behavior can also run on save; done means .qmd files receive the requested 72-character line breaks without opening Visual Mode.
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