Save without formatting
See original GitHub issueWhat do you think of a key combo to bypass formatting and save? Sometimes I have to temporarily disable the Format on Save
setting to make patches for OSS/projects that don’t use prettier.
Issue Analytics
- State:
- Created 7 years ago
- Comments:5
Top Results From Across the Web
How do I turn off text formatting on save in visual studio code?
Step:1 - Press Ctrl + Shift + P to open Command Palette. Then screen like below image appears. Step:2 - Type Save without...
Read more >[TIL] VSCode: How to save without auto formatting - ramigs.dev
TIL how to save a file on VSCode without auto formatting being applied: CMD + K S . This can be useful in...
Read more >Add a "Save Without Formatting" command #38695 - GitHub
There is now a new command "Save without Formatting" with the keybinding Cmd+K S . If someone has a better name, feel free...
Read more >Save Without Format - Visual Studio Marketplace
Save a file without auto formatting. Installation. Launch VS Code Quick Open ( Ctrl+P ), paste the following command, and press enter.
Read more >Save without formatting in VSCode - Today I Learned
Save without formatting in VSCode. Shortcut: ⌘+k s. To save a file in VSCode without formatting press ⌘ + k , release, and...
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 FreeTop 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
Top GitHub Comments
@Anthonyzou @tacomanator We now have the ability to both whitelist and blacklist certain globs so I’m closing this for now. Maybe in the future we should add a keymap to toggle format on save on and off.
@tacomanator I’m not sure how I would go about coding that one. Maybe it would be better if we had a whitelist or blacklist of globs. I did a PR for a related project that does blacklist globs:
https://github.com/kentcdodds/prettier-eslint-atom/pull/11/files
Then you would just blacklist the projects you didn’t want it for. What do you think of that solution?