58
35

More than 5 years have passed since last update.

Visual Studio Codeの自動整形機能を有効にして快適に

Last updated at Posted at 2018-10-06

最近、コードを書く環境をVisualStudioCodeに変えました。いろいろ便利な機能が標準であるようです。Pythonでコードを書いてて自動整形をしてほしくなったので、コードの自動整形を有効にしてみます。

  1. 「ファイル」→「基本設定」→「設定」と開く
  2. 検索窓からformatonで検索
  3. 以下のような表示がある

Editor:Format On Type

これにチェックを入れてください。すぐに変更が反映されるはずです。

結果:コード書くと整形される

58
35
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
58
35