Formatting document should not destroy comments
See original GitHub issueIf yaml.format.enable
is true
, using the “Format Document” function destroys YAML comments.
Issue Analytics
- State:
- Created 6 years ago
- Reactions:3
- Comments:13 (7 by maintainers)
Top Results From Across the Web
How to stop VS. Code from destroying the formating of my code?
But it (usually) works if I do a: Ctrl + A then F1 --> Align . If you do formatting, VSCode will just...
Read more >Chapter 8. Formatting Documents
Document formatting refers to the way a document is laid out on the page—the way it looks and is visually organized—and it addresses...
Read more >Word document formatting is not retained ... - Microsoft Support
Word document formatting is not retained when document is inserted as a file ... Method 1: If the source document does not contain...
Read more >How to Remove Comments and Accept All Changes in Word
Tips on Using Comments in Microsoft Word ... You can format the text in comments like you would with regular text in Word,...
Read more >How to REMOVE and HIDE comments in Word (w/ Shortcuts)
Learn how to REMOVE and HIDE comments in Word so that you can quickly declutter your workspace and focus on your task at...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi! we’ve replaced the formatter with a new one that doesn’t strip comments!
This is an issue with the underlying parser. Currently there is not a parser (that I can find) that supports comment nodes. if one becomes available then I would happily switch the formatter to use that to preserve the comments.