VSCode の拡張機能・ショートカットの方針について
方針
共通で使うもののみグローバルで有効化する。
言語拡張機能など、プロジェクト単体で使うものについてはプロジェクトごとに有効化する。
また、できるだけ DevContainer でコンテナ環境に閉じさせるようにする。
Settings.json
code: settings.json
{
// ------------------ VSCode --------------------
// editor
"editor.lineNumbers": "relative",
"editor.renderControlCharacters": true,
"editor.cursorStyle": "line",
"editor.mouseWheelZoom": false,
"editor.renderLineHighlight": "all",
"editor.smoothScrolling": true,
"editor.fontSize": 15,
"editor.fontFamily": "Source Code Pro for Powerline, Ricty Diminished, Menlo, Monaco, 'Courier New', monospace",
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.minimap.enabled": false,
"editor.suggestSelection": "first",
"editor.guides.bracketPairs": true,
"editor.tabSize": 4,
"editor.bracketPairColorization.enabled": true,
// explorer
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
// terminal
"terminal.integrated.fontFamily": "Cica",
"terminal.integrated.gpuAcceleration": "on",
"terminal.integrated.fontSize": 15,
"terminal.integrated.defaultProfile.osx": "zsh",
// system
"files.autoSave": "off",
"files.associations": {},
// workbench
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "GitHub Dark",
"workbench.list.smoothScrolling": true,
"workbench.startupEditor": "welcomePage",
// Exclude files (画面に表示しない)
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/.ipynb_checkpoints": true
},
// debug
"debug.allowBreakpointsEverywhere": true,
"debug.inlineValues": "on",
// markdown
"markdown.preview.breaks": true,
"markdown.extension.orderedList.marker": "one",
"markdown.extension.orderedList.autoRenumber": false,
// language settings
"editor.defaultFormatter": "vscode.json-language-features"
},
"editor.defaultFormatter": "redhat.vscode-yaml"
},
"editor.formatOnSave": false
},
// ------------------ Each Extensions --------------------
// go
"go.toolsManagement.autoUpdate": true,
// typescript
"typescript.updateImportsOnFileMove.enabled": "always",
// markdown
"markdown.extension.tableFormatter.enabled": false,
// tabnine
"tabnine.experimentalAutoImports": true,
}
Shortcut