Skip to content

Instantly share code, notes, and snippets.

@SHANG-TING
Last active July 18, 2019 06:19
Show Gist options
  • Save SHANG-TING/0b3aceac0b6583d3bcd3dcde3c53fcae to your computer and use it in GitHub Desktop.
Save SHANG-TING/0b3aceac0b6583d3bcd3dcde3c53fcae to your computer and use it in GitHub Desktop.
{
"workbench.iconTheme": "material-icon-theme",
// 終端機設定
"terminal.external.windowsExec": "D:\\Git\\bin\\bash.exe",
"terminal.integrated.shell.windows": "D:\\Git\\bin\\bash.exe",
"terminal.integrated.shellArgs.windows": ["-l"],
// 縮放比例
"window.zoomLevel": 0,
"editor.mouseWheelZoom": true,
// 字型
"editor.fontFamily": "Fira Code, '思源黑體 Medium'",
"editor.fontLigatures": true,
"editor.fontSize": 14,
"editor.lineHeight": 30,
// 效能考量
"editor.minimap.renderCharacters": false,
// 使用體驗
"editor.smoothScrolling": true,
"editor.renderIndentGuides": false,
"editor.renderWhitespace": "none",
"editor.showFoldingControls": "always",
"editor.snippetSuggestions": "top",
"editor.renderControlCharacters": false,
// 規格
"editor.tabSize": 2,
"editor.wordWrap": "on",
"files.eol": "\n",
// BONUS
"breadcrumbs.enabled": true,
"window.titleBarStyle": "custom",
// Codelens 程式碼追蹤
"editor.codeLens": true, // 預設 true
"javascript.referencesCodeLens.enabled": true,
"typescript.implementationsCodeLens.enabled": true,
"typescript.referencesCodeLens.enabled": true,
// Emmet
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly",
"emmet.includeLanguages": {
"javascript": "javascriptreact",
"vue-html": "html"
},
"emmet.triggerExpansionOnTab": true,
// 自動整理匯入,移除沒使用的匯入
// "editor.codeActionsOnSave": {
// "source.organizeImports": true
// },
// "editor.formatOnSave": true,
// HTML 排版
"html.format.maxPreserveNewLines": 2,
"html.format.wrapAttributes": "force-aligned",
// prettier 套件排版組態(最後套用)
"prettier.tabWidth": 2,
"prettier.semi": true,
"prettier.singleQuote": true,
// 活動列置右
"workbench.sideBar.location": "right",
"typescript.updateImportsOnFileMove.enabled": "never",
// Live Server
"liveServer.settings.donotShowInfoMsg": true,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment