自学内容网 自学内容网

vscode配置

扩展

在这里插入图片描述

快捷键

// 将键绑定放在此文件中以覆盖默认值auto[]
[
  {
    "key": "ctrl+shift+backspace oem_plus",
    "command": "editor.action.addSelectionToNextFindMatch",
    "when": "editorFocus"
  },
  {
    "key": "ctrl+d",
    "command": "-editor.action.addSelectionToNextFindMatch",
    "when": "editorFocus"
  },
  {
    "key": "ctrl+d",
    "command": "editor.action.deleteLines",
    "when": "textInputFocus && !editorReadonly"
  },
  {
    "key": "ctrl+shift+k",
    "command": "-editor.action.deleteLines",
    "when": "textInputFocus && !editorReadonly"
  },
  {
    "key": "ctrl+shift+oem_2",
    "command": "editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
  },
  {
    "key": "shift+alt+a",
    "command": "-editor.action.blockComment",
    "when": "editorTextFocus && !editorReadonly"
  },
  {
    "key": "ctrl+q",
    "command": "-workbench.action.quickOpenNavigateNextInViewPicker",
    "when": "inQuickOpen && inViewsPicker"
  },
  {
    "key": "ctrl+q",
    "command": "-workbench.action.quickOpenView"
  },
  {
    "key": "ctrl+shift+q",
    "command": "editor.action.triggerSuggest",
    "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"
  },
  {
    "key": "ctrl+i",
    "command": "-editor.action.triggerSuggest",
    "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"
  },
  {
    "key": "ctrl+shift+q",
    "command": "-workbench.action.quickOpenNavigatePreviousInViewPicker",
    "when": "inQuickOpen && inViewsPicker"
  },
  {
    "key": "ctrl+space",
    "command": "-editor.action.triggerSuggest",
    "when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly && !suggestWidgetVisible"
  },
  {
    "key": "ctrl+shift+w",
    "command": "editor.action.inlineSuggest.trigger"
  },
  {
    "key": "ctrl+q",
    "command": "editor.action.triggerParameterHints",
    "when": "editorHasSignatureHelpProvider && editorTextFocus"
  },
  {
    "key": "ctrl+shift+space",
    "command": "-editor.action.triggerParameterHints",
    "when": "editorHasSignatureHelpProvider && editorTextFocus"
  }
]

设置

{
  "liveServer.settings.donotShowInfoMsg": true,
  "emmet.includeLanguages": {},
  "editor.formatOnType": true,
  "typescript.tsdk": "",
  "explorer.confirmDelete": false,
  "workbench.iconTheme": "vscode-icons",
  "terminal.integrated.tabs.enabled": true,
  "emmet.excludeLanguages": ["markdown"],
  "editor.suggest.snippetsPreventQuickSuggestions": false,
  "search.followSymlinks": false,
  "git.autorefresh": false,
  "editor.fontLigatures": null,
  "editor.mouseWheelZoom": true,
  "emmet.syntaxProfiles": {},
  "editor.formatOnType": true,
  "editor.formatOnSave": true,
  "vetur.validation.template": false,
  "editor.tabSize": 2,
  "editor.detectIndentation": false,
  "workbench.colorCustomizations": {},
  "emmet.triggerExpansionOnTab": true,
  "security.workspace.trust.untrustedFiles": "open",
  "editor.fontFamily": "consolas",
  "editor.fontSize": 20,
  "editor.lineHeight": 1.8,
  "editor.minimap.enabled": false,
  "remote.SSH.remotePlatform": {
    "alias": "linux"
  },
  "code-runner.runInTerminal": true,
  "code-runner.executorMap": {
    "c": "cd $dir && gcc -fexec-charset=GBK $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
    "cpp": "cd $dir && g++ -fexec-charset=GBK $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt"
  },
  "editor.cursorWidth": 2,
  "editor.renderWhitespace": "none",
  "editor.unicodeHighlight.ambiguousCharacters": false,
  "editor.cursorSurroundingLines": 1,
  "cssrem.rootFontSize": 37.5,
  "cssrem.vw": true,
  "terminal.integrated.cursorWidth": 2,
  "cssrem.vwDesign": 375,
  "editor.bracketPairColorization.enabled": true,
  "editor.guides.bracketPairs": "active",
  "javascript.validate.enable": false,
  "editor.cursorBlinking": "expand",
  "editor.stickyScroll.enabled": false,
  "liveServer.settings.AdvanceCustomBrowserCmdLine": "",
  "liveServer.settings.CustomBrowser": "chrome",
  "hediet.vscode-drawio.theme": "atlas",
  "hediet.vscode-drawio.resizeImages": null,
  "terminal.integrated.defaultProfile.windows": "PowerShell",
  "vsicons.dontShowNewVersionMessage": true,
  "terminal.integrated.fontSize": 18,
  "vue.format.script.initialIndent": true,
  "vue.format.style.initialIndent": true,
  "vue.server.hybridMode": true,
  "editor.tokenColorCustomizations": {
    "comments": {
      // 设置字体样式 加粗 下划线 斜体等
      "fontStyle": "", //  italic underline
      // 设置字体颜色
      // "foreground": "#4caee2"
      // "foreground": "#61a957",
      "foreground": "#90928f"
    }
  },
  "workbench.colorTheme": "escook Light",
  "vue.autoInsert.dotValue": true,
  "editor.defaultFormatter": "esbenp.prettier-vscode",
  "git.autofetch": true,
  "prettier.semi": false,
  "gitlens.graph.minimap.dataType": "lines"
}


原文地址:https://blog.csdn.net/weixin_46435234/article/details/142832077

免责声明:本站文章内容转载自网络资源,如本站内容侵犯了原著者的合法权益,可联系本站删除。更多内容请关注自学内容网(zxcms.com)!