Save without formatting

See original GitHub issue

What 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:closed
  • Created 7 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
robwisecommented, Mar 7, 2017

@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.

1reaction
robwisecommented, Feb 5, 2017

@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?

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found