Save Single File In VS Code Unformatted #42984
Unanswered
myregistration
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Is there an easy way to save a single file unformatted? I'm using mailable markdown and I think the indentation from auto-formatting of blade files is screwing up the content. It's adding a table tag, for example, and I have not included any table markdown. I opened it in a different editor that doesn't format blade/php files and saved without the auto-formatting and that fixed the problem.
Still need a way to signify editor to ignore formatting a file when saving, maybe a comment at top of file or File > Save Without Formatting option. If anyone knows of a VS Code plug-in please let me know. Thanks!
UPDATE: It's built into VS Code now. Select Shift + Cmd + P and choose File: Save without Formatting or use the Shortcut key.
Beta Was this translation helpful? Give feedback.
All reactions