Skip to content

Instantly share code, notes, and snippets.

@SherryQueen
Last active January 21, 2019 03:29
Show Gist options
  • Select an option

  • Save SherryQueen/d54dab71c8098dae1547c6764ce322d0 to your computer and use it in GitHub Desktop.

Select an option

Save SherryQueen/d54dab71c8098dae1547c6764ce322d0 to your computer and use it in GitHub Desktop.
// 将键绑定放入此文件中以覆盖默认值
[
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+u",
"command": "editor.action.transformToLowercase"
}
]
// 将设置放入此文件中以覆盖默认设置
"files.autoSave": "off",
"files.eol": "\n",
// 编辑器设置
"editor.fontFamily": "Monaco",
"editor.fontSize": 16,
// 控制选取范围是否有圆角
"editor.roundedSelection": false,
// 建议小组件的字号
"editor.suggestFontSize": 18,
// 一个制表符等于的空格数。该设置在 `editor.detectIndentation` 启用时根据文件内容进行重写。
"editor.tabSize": 2,
"editor.cursorStyle": "line",
"editor.lineHeight": 24,
"editor.wordWrap": "on",
"editor.detectIndentation": false,
"editor.wordWrapColumn": 120,
// 在“打开的编辑器”窗格中显示的编辑器数量。将其设置为 0 可隐藏窗格。
"explorer.openEditors.visible": 0,
// 以像素为单位控制终端的字号,这是 editor.fontSize 的默认值。
"terminal.integrated.fontSize": 14,
"terminal.integrated.cursorBlinking": true,
"terminal.external.windowsExec": "C:\\Windows\\System32\\wsl.exe",
"terminal.integrated.shell.windows": "C:\\Windows\\System32\\wsl.exe",
// "terminal.external.windowsExec": "C:\\Program Files\\Git\\bin\\bash.exe",
// "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
// 文件关联
"files.associations": {
"*.wpy": "vue"
},
"emmet.syntaxProfiles": {
"vue-html": "html",
"vue": "html"
},
// 主题
"workbench.colorTheme": "Solarized Light",
// 启动页
"workbench.startupEditor": "welcomePage",
"window.zoomLevel": 0,
"eslint.autoFixOnSave": true,
// git
"git.confirmSync": false,
"git.autorefresh": false,
// 文件
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
// 美化
"prettier.eslintIntegration": true,
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"prettier.printWidth": 120,
"prettier.disableLanguages": ["vue", "json"],
// 插件
"npm-intellisense.importES6": false,
// js 相关
"javascript.implicitProjectConfig.experimentalDecorators": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"typescript.updateImportsOnFileMove.enabled": "always",
// 其他
"search.followSymlinks": false,
"cSpell.userWords": ["antd", "keyframes", "nbsp", "noopener", "noreferrer", "polyfill", "snaptshot"],
"workbench.iconTheme": "vscode-icons",
"python.formatting.autopep8Path": "yapf",
"files.trimTrailingWhitespace": true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment