64
21

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で保存時に自動で空白を削除しよう!

Posted at

vscodeで保存時(Ctrl + S)に自動で空白を削除するには、特別なプラグインは一切不要です。

手順1. 設定を開く

Ctrl + , で設定が開くと思います

手順2. 空白を削除する設定を探す

「trim」で探すと出てきます

手順3. 全部にチェックをつけましょう!

Screenshot from 2018-10-31 09-42-20.png

以上です!
これで、コードを保存したときに空白は全て削除されます!

64
21
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
64
21

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?