10
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

VSCode で自動フォーマットを行わずに保存する

Last updated at Posted at 2020-01-14

VSCode(VisualStudioCode)とても便利ですよね。
保存時に自動フォーマットとかするとコードもきれいに保たれるのでよく使っているんですが、OSSとかでPRを出す際に、不必要に他の作業者の記述を調整するのは避けたかったので調べました。

フォーマット設定を一時的に外すのも面倒だなと思っていたのですが、まさかショートカットにあるとは。
ついでに他の保存系も載せます。

自動フォーマットせずに保存

command + K の後に S

普通に保存

command + S

開いている未保存ファイルを全部保存

option + command + S

別名保存

shift + command + S

ちなみに

command + shift + P
でコマンドパレットを開いて save とか打つと関連するものがたくさん出てきます。

command_palette.png

10
7
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
10
7

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?