最近、コードを書く環境をVisualStudioCodeに変えました。いろいろ便利な機能が標準であるようです。Pythonでコードを書いてて自動整形をしてほしくなったので、コードの自動整形を有効にしてみます。 「ファイル」→「基本設定」→「設定」と開く 検索窓からformatonで検索 以下のような表示がある Editor:Format On Type これにチェックを入れてください。すぐに変更が反映されるはずです。 結果:コード書くと整形される Register as a new user and use Qiita more conveniently You get articles that match your needsYou can efficiently read back useful informationWhat you can do with signing up
