投稿

ラベル(Visual Studio Code)が付いた投稿を表示しています

Visutl Studio Code で Python だけタブを4スペースにする

Visutl Studio Code のタブ動作をデフォルトのスペースからタブに変更しているが、Pythonは4スペースにしたい Ctrl + Shift + P → Preferences: Configure language specific settings Python(下の方)を選択するか入力 表示されるpython設定に "editor.insertSpaces": true と "editor.tabSize": 4 を追加 {      "workbench.welcome.enabled" : false ,      "files.autoSave" : "off" ,      "editor.insertSpaces" : false ,      "typescript.check.npmIsInstalled" : false ,      "python.linting.enabledWithoutWorkspace" : false ,      "editor.renderWhitespace" : "boundary" ,      "[python]" : {          "editor.insertSpaces" : true ,          "editor.tabSize" : 4     } }