Last active
May 29, 2020 10:33
-
-
Save ylc395/3ed3e6837c6cbba01e1e64b14b5f2dab to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-05-29T10:33:53.525Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "0bfc03aa-70fb-4740-82a7-ca1043260d88", | |
"publisherId": "nicoespeon.abracadabra", | |
"publisherDisplayName": "nicoespeon" | |
}, | |
"name": "abracadabra", | |
"publisher": "nicoespeon", | |
"version": "4.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "4cc26259-f256-4c95-9ced-d8294632aee6", | |
"publisherId": "wolray.any-swap", | |
"publisherDisplayName": "wolray" | |
}, | |
"name": "any-swap", | |
"publisher": "wolray", | |
"version": "0.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29", | |
"publisherId": "formulahendry.auto-close-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-close-tag", | |
"publisher": "formulahendry", | |
"version": "0.5.7" | |
}, | |
{ | |
"metadata": { | |
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03", | |
"publisherId": "formulahendry.auto-rename-tag", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "auto-rename-tag", | |
"publisher": "formulahendry", | |
"version": "0.1.3" | |
}, | |
{ | |
"metadata": { | |
"id": "7a0110bb-231a-4598-aa1b-0769ea46d28b", | |
"publisherId": "aaron-bond.better-comments", | |
"publisherDisplayName": "aaron-bond" | |
}, | |
"name": "better-comments", | |
"publisher": "aaron-bond", | |
"version": "2.0.5" | |
}, | |
{ | |
"metadata": { | |
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc", | |
"publisherId": "alefragnani.Bookmarks", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "Bookmarks", | |
"publisher": "alefragnani", | |
"version": "11.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "2aa040bf-c73a-455d-8946-5c6cc83b8019", | |
"publisherId": "wmaurer.change-case", | |
"publisherDisplayName": "wmaurer" | |
}, | |
"name": "change-case", | |
"publisher": "wmaurer", | |
"version": "1.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "b78f4a91-df9d-44b3-ac9c-372c02a88d39", | |
"publisherId": "j4ng5y.charactercount", | |
"publisherDisplayName": "j4ng5y" | |
}, | |
"name": "charactercount", | |
"publisher": "j4ng5y", | |
"version": "0.1.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3", | |
"publisherId": "formulahendry.code-runner", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "code-runner", | |
"publisher": "formulahendry", | |
"version": "0.10.0" | |
}, | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "Shan.code-settings-sync", | |
"publisherDisplayName": "Shan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "3.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7", | |
"publisherId": "streetsidesoftware.code-spell-checker", | |
"publisherDisplayName": "streetsidesoftware" | |
}, | |
"name": "code-spell-checker", | |
"publisher": "streetsidesoftware", | |
"version": "1.9.0" | |
}, | |
{ | |
"metadata": { | |
"id": "0f8bd812-5d52-4fff-bd1c-6b0a7ee9cad9", | |
"publisherId": "bierner.color-info", | |
"publisherDisplayName": "bierner" | |
}, | |
"name": "color-info", | |
"publisher": "bierner", | |
"version": "0.5.1" | |
}, | |
{ | |
"metadata": { | |
"id": "83363ca7-66ec-42d9-b9e5-5356cfd2834f", | |
"publisherId": "zeithaste.cursorCharCode", | |
"publisherDisplayName": "zeithaste" | |
}, | |
"name": "cursorCharCode", | |
"publisher": "zeithaste", | |
"version": "0.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "816d44eb-5e28-431b-be81-2c52551d81ea", | |
"publisherId": "mitchdenny.ecdc", | |
"publisherDisplayName": "mitchdenny" | |
}, | |
"name": "ecdc", | |
"publisher": "mitchdenny", | |
"version": "1.3.0" | |
}, | |
{ | |
"metadata": { | |
"id": "1946e66b-9eea-45a9-816b-316bf9d7d1ab", | |
"publisherId": "Zyst.Egoist-One", | |
"publisherDisplayName": "Zyst" | |
}, | |
"name": "Egoist-One", | |
"publisher": "Zyst", | |
"version": "1.18.0" | |
}, | |
{ | |
"metadata": { | |
"id": "9d8c32ab-354c-4daf-a9bf-20b633734435", | |
"publisherId": "usernamehw.errorlens", | |
"publisherDisplayName": "usernamehw" | |
}, | |
"name": "errorlens", | |
"publisher": "usernamehw", | |
"version": "3.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "e55376f2-3b3e-4916-8dbf-34df2fce687b", | |
"publisherId": "drKnoxy.eslint-disable-snippets", | |
"publisherDisplayName": "drKnoxy" | |
}, | |
"name": "eslint-disable-snippets", | |
"publisher": "drKnoxy", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7632e3e0-7d47-4be3-a5e3-a5873293f815", | |
"publisherId": "pomber.git-file-history", | |
"publisherDisplayName": "pomber" | |
}, | |
"name": "git-file-history", | |
"publisher": "pomber", | |
"version": "1.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "4de763bd-505d-4978-9575-2b7696ecf94e", | |
"publisherId": "eamodio.gitlens", | |
"publisherDisplayName": "eamodio" | |
}, | |
"name": "gitlens", | |
"publisher": "eamodio", | |
"version": "10.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "7015fdfd-f56d-43d7-95f0-fc91de28e26f", | |
"publisherId": "wengerk.highlight-bad-chars", | |
"publisherDisplayName": "wengerk" | |
}, | |
"name": "highlight-bad-chars", | |
"publisher": "wengerk", | |
"version": "0.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "5fffda3f-e32b-4020-835b-2418930c91e0", | |
"publisherId": "OnlyLys.leaper", | |
"publisherDisplayName": "OnlyLys" | |
}, | |
"name": "leaper", | |
"publisher": "OnlyLys", | |
"version": "0.6.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d921f2a6-7fc2-4937-8441-4dde9ed70628", | |
"publisherId": "peterfh.linesinfostatusbar", | |
"publisherDisplayName": "peterfh" | |
}, | |
"name": "linesinfostatusbar", | |
"publisher": "peterfh", | |
"version": "0.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "66ed4827-7677-462f-85a9-d09d0f6a71a5", | |
"publisherId": "ghmcadams.lintlens", | |
"publisherDisplayName": "ghmcadams" | |
}, | |
"name": "lintlens", | |
"publisher": "ghmcadams", | |
"version": "3.0.0" | |
}, | |
{ | |
"metadata": { | |
"id": "79afa437-682e-4fa2-a4fd-87844832a1dc", | |
"publisherId": "ryu1kn.partial-diff", | |
"publisherDisplayName": "ryu1kn" | |
}, | |
"name": "partial-diff", | |
"publisher": "ryu1kn", | |
"version": "1.4.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b24a13f5-4e50-4d9a-ab0a-87f47d9fdfcb", | |
"publisherId": "stkb.rewrap", | |
"publisherDisplayName": "stkb" | |
}, | |
"name": "rewrap", | |
"publisher": "stkb", | |
"version": "1.11.0" | |
}, | |
{ | |
"metadata": { | |
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70", | |
"publisherId": "Gruntfuggly.todo-tree", | |
"publisherDisplayName": "Gruntfuggly" | |
}, | |
"name": "todo-tree", | |
"publisher": "Gruntfuggly", | |
"version": "0.0.176" | |
}, | |
{ | |
"metadata": { | |
"id": "b649170e-c1cf-45b4-b56e-681725d3a395", | |
"publisherId": "hideoo.toggler", | |
"publisherDisplayName": "hideoo" | |
}, | |
"name": "toggler", | |
"publisher": "hideoo", | |
"version": "0.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.24.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.14.5" | |
}, | |
{ | |
"metadata": { | |
"id": "5b7424e4-d934-4816-83ce-b422c482a9e7", | |
"publisherId": "micnil.vscode-checkpoints", | |
"publisherDisplayName": "micnil" | |
}, | |
"name": "vscode-checkpoints", | |
"publisher": "micnil", | |
"version": "1.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "7789bd61-a874-4bf0-a8b4-d9e8d920af63", | |
"publisherId": "uctakeoff.vscode-counter", | |
"publisherDisplayName": "uctakeoff" | |
}, | |
"name": "vscode-counter", | |
"publisher": "uctakeoff", | |
"version": "1.3.5" | |
}, | |
{ | |
"metadata": { | |
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a", | |
"publisherId": "dbaeumer.vscode-eslint", | |
"publisherDisplayName": "dbaeumer" | |
}, | |
"name": "vscode-eslint", | |
"publisher": "dbaeumer", | |
"version": "2.1.5" | |
}, | |
{ | |
"metadata": { | |
"id": "21b3e09e-b3f7-4e20-9302-50039286650d", | |
"publisherId": "mkxml.vscode-filesize", | |
"publisherDisplayName": "mkxml" | |
}, | |
"name": "vscode-filesize", | |
"publisher": "mkxml", | |
"version": "2.1.4" | |
}, | |
{ | |
"metadata": { | |
"id": "d637104e-1fd7-4063-98fc-8afe46012c9b", | |
"publisherId": "sleistner.vscode-fileutils", | |
"publisherDisplayName": "sleistner" | |
}, | |
"name": "vscode-fileutils", | |
"publisher": "sleistner", | |
"version": "3.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "eedfd044-d5ac-4389-973d-3ac1fdb98ad5", | |
"publisherId": "kisstkondoros.vscode-gutter-preview", | |
"publisherDisplayName": "kisstkondoros" | |
}, | |
"name": "vscode-gutter-preview", | |
"publisher": "kisstkondoros", | |
"version": "0.26.1" | |
}, | |
{ | |
"metadata": { | |
"id": "aaee577c-f062-495a-9816-0cbd442f1d25", | |
"publisherId": "ecmel.vscode-html-css", | |
"publisherDisplayName": "ecmel" | |
}, | |
"name": "vscode-html-css", | |
"publisher": "ecmel", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "951c33b7-6ec9-4351-8a17-ededc09c997f", | |
"publisherId": "nickdemayo.vscode-json-editor", | |
"publisherDisplayName": "nickdemayo" | |
}, | |
"name": "vscode-json-editor", | |
"publisher": "nickdemayo", | |
"version": "0.2.3" | |
}, | |
{ | |
"metadata": { | |
"id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b", | |
"publisherId": "MS-CEINTL.vscode-language-pack-zh-hans", | |
"publisherDisplayName": "MS-CEINTL" | |
}, | |
"name": "vscode-language-pack-zh-hans", | |
"publisher": "MS-CEINTL", | |
"version": "1.45.1" | |
}, | |
{ | |
"metadata": { | |
"id": "b476195a-5d3b-4a10-af0b-3d94f9c9f924", | |
"publisherId": "yatki.vscode-surround", | |
"publisherDisplayName": "yatki" | |
}, | |
"name": "vscode-surround", | |
"publisher": "yatki", | |
"version": "1.0.2" | |
}, | |
{ | |
"metadata": { | |
"id": "07fc4a0a-11fc-4121-ba9a-f0d534c729d8", | |
"publisherId": "pflannery.vscode-versionlens", | |
"publisherDisplayName": "pflannery" | |
}, | |
"name": "vscode-versionlens", | |
"publisher": "pflannery", | |
"version": "1.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444", | |
"publisherId": "VisualStudioExptTeam.vscodeintellicode", | |
"publisherDisplayName": "VisualStudioExptTeam" | |
}, | |
"name": "vscodeintellicode", | |
"publisher": "VisualStudioExptTeam", | |
"version": "1.2.7" | |
}, | |
{ | |
"metadata": { | |
"id": "6f99be10-9aad-4b1c-8691-bcae8ae7b104", | |
"publisherId": "dariofuzinato.vue-peek", | |
"publisherDisplayName": "dariofuzinato" | |
}, | |
"name": "vue-peek", | |
"publisher": "dariofuzinato", | |
"version": "1.0.2" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// 将按键绑定配置放入此文件中即可覆盖默认值 | |
[ | |
{ | |
"key": "ctrl+v", | |
"command": "pasteAndIndent.action", | |
"when": "editorTextFocus && !editorReadonly && !vim.use<C-v>" | |
}, | |
/*========面板快捷键==========*/ | |
{ | |
"key": "alt+h", | |
"command": "workbench.action.togglePanel" | |
}, | |
/*================终端快捷键==========*/ | |
{ | |
"key": "alt+oem_3", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "workbench.action.terminal.kill", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+PageUp", | |
"command": "workbench.action.terminal.focusPrevious", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+PageDown", | |
"command": "workbench.action.terminal.focusNext", | |
"when": "terminalFocus" | |
}, | |
/*================错误快捷键==========*/ | |
{ | |
"key": "f4", | |
"command": "editor.action.marker.nextInFiles", | |
"when": "activePanel == 'workbench.panel.markers '" | |
}, | |
{ | |
"key": "shift+f4", | |
"command": "editor.action.marker.prevInFiles", | |
"when": "activePanel == 'workbench.panel.markers '" | |
}, | |
/*=============光标移动================*/ | |
{ | |
"key": "alt+j", | |
"command": "workbench.action.editor.nextChange", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+k", | |
"command": "workbench.action.editor.previousChange", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+j", | |
"command": "selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "alt+k", | |
"command": "selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "shift+alt+j", | |
"command": "editor.action.dirtydiff.previous", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "shift+alt+k", | |
"command": "editor.action.dirtydiff.next", | |
"when": "editorTextFocus" | |
}, | |
/*========标签页内/间快速导航==========*/ | |
{ | |
"key": "alt+o", | |
"command": "workbench.action.gotoSymbol" | |
}, | |
{ | |
"key": "alt+shift+o", | |
"command": "workbench.action.showAllSymbols" | |
}, | |
{ | |
"key": "alt+p", | |
"command": "workbench.action.quickOpen" | |
}, | |
{ | |
"key": "alt+p", | |
"command": "workbench.action.quickOpenNavigateNextInFilePicker", | |
"when": "inFilesPicker && inQuickOpen" | |
}, | |
{ | |
"key": "alt+u", | |
"command": "workbench.action.previousEditorInGroup" | |
}, | |
{ | |
"key": "alt+i", | |
"command": "workbench.action.nextEditorInGroup" | |
}, | |
{ | |
"key": "shift+alt+i", | |
"command": "workbench.action.moveEditorRightInGroup" | |
}, | |
{ | |
"key": "shift+alt+u", | |
"command": "workbench.action.moveEditorLeftInGroup" | |
}, | |
{ | |
"key": "alt+q", | |
"command": "workbench.action.focusNextGroup" | |
}, | |
{ | |
"key": "alt+j", | |
"command": "workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "alt+k", | |
"command": "workbench.action.quickOpenSelectPrevious", | |
"when": "inQuickOpen" | |
}, | |
/*========边栏功能相关快捷键==========*/ | |
{ | |
"key": "alt+1", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "alt+1", | |
"command": "workbench.action.toggleSidebarVisibility", | |
"when": "explorerViewletVisible" | |
}, | |
{ | |
"key": "alt+2", | |
"command": "workbench.view.search" | |
}, | |
{ | |
"key": "alt+2", | |
"command":"workbench.action.toggleSidebarVisibility", | |
"when": "activeViewlet == 'workbench.view.search'" | |
}, | |
{ | |
"key": "alt+3", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "alt+3", | |
"command": "workbench.action.toggleSidebarVisibility", | |
"when": "activeViewlet == 'workbench.view.scm'" | |
}, | |
{ | |
"key": "alt+4", | |
"command": "references-view.find", | |
}, | |
{ | |
"key": "alt+4", | |
"command": "references-view.clear", | |
"when": "reference-list.hasResult" | |
}, | |
{ | |
"key": "alt+5", | |
"command": "workbench.view.extension.bookmarks" | |
}, | |
/*==========其它========*/ | |
{ | |
"key": "ctrl+alt+r", | |
"command": "code-runner.run" | |
}, | |
{ | |
"key": "ctrl+k ctrl+c", | |
"command": "copyRelativeFilePath" | |
}, | |
{ | |
"key": "ctrl+numpad_add", | |
"command": "editor.action.fontZoomIn" | |
}, | |
{ | |
"key": "ctrl+numpad_subtract", | |
"command": "editor.action.fontZoomOut" | |
}, | |
{ | |
"key": "ctrl+numpad0", | |
"command": "editor.action.fontZoomReset" | |
}, | |
{ | |
"key": "ctrl+k ctrl+r", | |
"command": "git.clean" | |
}, | |
{ | |
"key": "tab", | |
"command": "-acceptSelectedSuggestion", | |
"when": "suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "tab", | |
"command": "leaper.leap", | |
"when": "editorTextFocus && leaper.hasLineOfSight && leaper.inLeaperMode && !editorHasSelection && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "alt+e", | |
"command": "workbench.action.openRecent" | |
}, | |
{ | |
"key": "alt+oem_3", | |
"command": "workbench.action.terminal.toggleTerminal", | |
"when": "!terminalFocus" | |
}, | |
{ | |
"key": "ctrl+oem_3", | |
"command": "-workbench.action.terminal.toggleTerminal" | |
}, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"key": "cmd+n", | |
"command": "fileutils.newFile", | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "workbench.action.quickOpenSelectNext", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "workbench.action.quickOpenSelectPrevious", | |
"when": "inQuickOpen" | |
}, | |
{ | |
"key": "cmd+j", | |
"command": "selectNextSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
{ | |
"key": "cmd+k", | |
"command": "selectPrevSuggestion", | |
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus" | |
}, | |
/*========边栏功能相关快捷键==========*/ | |
{ | |
"key": "cmd+e", | |
"command": "workbench.action.toggleSidebarVisibility" | |
}, | |
{ | |
"key": "cmd+1", | |
"command": "workbench.view.explorer" | |
}, | |
{ | |
"key": "cmd+2", | |
"command": "workbench.view.search" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "workbench.view.scm" | |
}, | |
{ | |
"key": "cmd+4", | |
"command": "references-view.find", | |
}, | |
{ | |
"key": "ctrl+cmd+r", | |
"command": "code-runner.run" | |
}, | |
{ | |
"key": "ctrl+oem_3", | |
"command": "workbench.action.focusActiveEditorGroup", | |
"when": "terminalFocus" | |
}, | |
{ | |
"key": "ctrl+-", | |
"command": "workbench.action.moveEditorLeftInGroup" | |
}, | |
{ | |
"key": "ctrl+=", | |
"command": "workbench.action.moveEditorRightInGroup" | |
}, | |
{ | |
"key": "cmd+5", | |
"command": "workbench.view.extension.gitlens" | |
}, | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// lint 配置 | |
"eslint.run": "onType", | |
"vetur.validation.template": false, // 使用eslint自行进行lint @see https://vuejs.github.io/vetur/linting-error.html#linting | |
"vetur.validation.script": false, | |
"vetur.validation.style": false, | |
// 样式 | |
"workbench.colorTheme": "Egoist One", | |
"editor.fontSize": 16, | |
"editor.renderWhitespace": "all", | |
"editor.fontLigatures": true, | |
"editor.fontFamily": "'Fira Code', Consolas, 'Courier New', 'Microsoft YaHei', monospace", | |
"markdown.preview.fontSize": 16, | |
"workbench.colorCustomizations": { | |
// @see https://code.visualstudio.com/api/references/theme-color | |
// 在左右两条纵向条上显示文件改动信息 | |
"editorGutter.modifiedBackground": "#aab6fa", | |
"editorGutter.addedBackground": "#51ff00", | |
"editorGutter.deletedBackground": "#ff2929", | |
"editorOverviewRuler.modifiedForeground": "#aab6fa", | |
"editorOverviewRuler.addedForeground": "#51ff00", | |
"editorOverviewRuler.deletedForeground": "#ff2929", | |
// 已选项在列表或树活动时的背景颜色 | |
"list.activeSelectionBackground": "#088da5", | |
"list.inactiveSelectionBackground": "#003366", | |
// 匹配括号的样式 | |
"editorBracketMatch.border": "#bada55", | |
// 书签行的背景颜色 | |
"bookmarks.lineBackground": "#3399ff88", | |
// 编辑器中警告线的颜色 | |
"editorError.foreground": "#ff0000", | |
"editorWarning.foreground": "#ffff00", | |
"editorHint.foreground": "#00ced1", | |
}, | |
"workbench.tree.indent": 20, | |
"leaper.customDecorationOptions": { | |
"outlineColor": "#bada55", | |
"outlineWidth": "1px", | |
"outlineStyle": "dotted", | |
}, | |
"cSpell.showStatus": false, | |
"editor.lineNumbers": "relative", | |
"editor.minimap.enabled": false, | |
"extensions.ignoreRecommendations": true, | |
"linesinfostatusbar.alignment": "left", | |
"linesinfostatusbar.selectedDisplayFormat": " (选中 %d 行)", | |
"linesinfostatusbar.statusbarPriority": -200, | |
"linesinfostatusbar.totalDisplayFormat": "共 %d 行", | |
"search.showLineNumbers": true, | |
"window.menuBarVisibility": "hidden", | |
"git.showCommitInput": false, | |
"git.enableStatusBarSync": false, | |
"window.title": "${dirty}${rootName}${separator}${activeEditorShort}", | |
"workbench.startupEditor": "newUntitledFile", | |
"workbench.editor.highlightModifiedTabs": true, | |
"workbench.tips.enabled": false, | |
"workbench.sideBar.location": "right", | |
// 各原生 UI 组件的行为 | |
"editor.cursorSurroundingLines": 10, | |
"editor.multiCursorModifier": "ctrlCmd", | |
"editor.wordSeparators": "`_~!@#$%^&*()-=+[{]}\\|;:'\",.<>/ ?", | |
"explorer.confirmDelete": false, | |
"workbench.editor.enablePreviewFromQuickOpen": false, | |
"workbench.list.keyboardNavigation": "filter", | |
"git.openDiffOnClick": false, | |
"git.untrackedChanges": "separate", | |
"markdown.preview.openMarkdownLinks": "inPreview", | |
"diffEditor.renderSideBySide": false, | |
// 代码编辑时编辑器的功能行为 | |
"editor.renameOnType": true, | |
"auto-rename-tag.activationOnLanguage": ["php", "vue"], // 当vetur实现了.vue文件的auto rename后可卸载这个插件 | |
"auto-close-tag.activationOnLanguage": ["php", "vue"], // 同上。@see https://github.com/vuejs/vetur/issues/565 | |
"[json]": { | |
"editor.formatOnPaste": true, | |
"editor.formatOnType": true | |
}, | |
"[jsonc]": { | |
"editor.formatOnPaste": true, | |
"editor.formatOnType": true | |
}, | |
"[markdown]": { | |
"editor.wordWrap": "on", | |
}, | |
// 自动补全相关 | |
"editor.suggest.snippetsPreventQuickSuggestions": false, | |
"editor.suggest.localityBonus": true, | |
"editor.suggestSelection": "first", | |
"editor.suggest.shareSuggestSelections": true, | |
"editor.snippetSuggestions": "top", | |
"emmet.showExpandedAbbreviation": "inMarkupAndStylesheetFilesOnly", | |
"emmet.triggerExpansionOnTab": true, | |
"editor.quickSuggestionsDelay": 0, | |
"editor.quickSuggestions": { | |
"other": true, | |
"comments": true, | |
"strings": true | |
}, | |
// 代码格式 | |
"files.eol": "\n", // 同上 | |
// 纯字符串操作与 typo 防止 | |
"cSpell.userWords": [ | |
"antd", | |
"basedata", | |
"build", | |
"chenyulu", | |
"corejs", | |
"crowdtest", | |
"frontmatter", | |
"longterm", | |
"mkdir", | |
"nginx", | |
"pageable", | |
"popconfirm", | |
"records", | |
"sankuai", | |
"scripts", | |
"ssoid", | |
"textlint", | |
"visibilitychange", | |
"vuex", | |
"workdir" | |
], | |
"highlight-bad-chars.additionalUnicodeChars": [ | |
"\uff1f", "\uff08", "\uff09", "\uff0c", "\uff01", | |
"\u2018", "\u2019", "\u201c", "\u201d", "\u00b7", | |
"\uff1b", "\u3000", "\uff02", "\uff07", "\uff1a" | |
], | |
"toggler.toggles": [ | |
["absolute", "relative"], | |
["high", "middle", "low"], | |
["succeed", "fail"], | |
["auto", "manual"], | |
["fetch", "receive"], | |
["backward", "forward"] | |
], | |
// 终端设置 | |
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe", | |
"terminal.integrated.shellArgs.windows": [ | |
"--login", | |
"-i" | |
], | |
"terminal.integrated.env.windows": { | |
"LC_ALL":"en_US.UTF-8" | |
}, | |
// vim 设置 | |
"vim.sneak": true, | |
"vim.camelCaseMotion.enable": true, | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{"before": ["Z", "Z"], "commands": [":wq"]}, | |
{"before": ["="], "commands": ["workbench.action.nextEditorInGroup"]}, | |
{"before": ["-"], "commands": ["workbench.action.previousEditorInGroup"]}, | |
{"before": ["<C-i>"], "commands": ["workbench.action.navigateForward"]}, | |
{"before": ["<C-o>"], "commands": ["workbench.action.navigateBack"]}, | |
{"before": ["g", "r"], "commands": ["workbench.action.openRecent"]}, | |
{"before": ["g", "`"], "commands": ["extension.toggle"]}, | |
{"before": ["g", "~"], "commands": ["extension.changeCase.commands"]}, | |
{"before": ["g", "]"], "commands": ["anySwap.forward"]}, | |
{"before": ["g", "["], "commands": ["anySwap.backward"]}, | |
{"before": ["g", "J"], "commands": ["workbench.action.editor.nextChange"]}, | |
{"before": ["g", "K"], "commands": ["workbench.action.editor.previousChange"]}, | |
{"before": ["g", "O"], "commands": ["workbench.action.quickOpen"]}, | |
{"before": ["g", "o"], "commands": ["workbench.action.gotoSymbol"]}, | |
{"before": ["g", "r"], "commands": ["workbench.action.openRecent"]}, | |
{"before": ["<BS>"], "commands": [":nohl"]}, | |
{"before": ["q"], "commands": ["workbench.action.closeActiveEditor"]}, | |
{"before": ["Q"], "commands": ["workbench.action.reopenClosedEditor"]}, | |
{"before": ["<leader>", "m"], "commands": ["bookmarks.toggle"]}, | |
{"before": ["<leader>", "M"], "commands": ["bookmarks.toggleLabeled"]}, | |
{"before": ["<leader>", "N"], "commands": ["bookmarks.listFromAllFiles"]}, | |
{"before": ["<leader>", "n"], "commands": ["bookmarks.list"]}, | |
{"before": [ "<C-w>", "q" ], "commands": ["workbench.action.toggleEditorWidths"]}, | |
], | |
"vim.visualModeKeyBindingsNonRecursive": [ | |
{"before": ["g", "q"], "commands": ["rewrap.rewrapComment"]}, | |
{"before": ["g", "S"], "commands": ["surround.with"]}, | |
{"before": ["g", "`"], "commands": ["extension.toggle"]}, | |
{"before": ["g", "~"], "commands": ["extension.changeCase.commands"]}, | |
{"before": [">"], "commands": ["editor.action.indentLines"]}, | |
{"before": ["<"], "commands": ["editor.action.outdentLines"]}, | |
], | |
"vim.insertModeKeyBindings": [ | |
{"before": ["j", "k"], "after": ["<Esc>"]}, | |
], | |
"vim.handleKeys": { | |
"<C-c>": false, | |
"<Esc>": false, | |
}, | |
"vim.hlsearch": true, | |
"vim.foldfix": true, | |
// gitlens 设置 | |
"gitlens.defaultDateStyle": "absolute", | |
"gitlens.blame.dateFormat": "YYYY/MM/DD HH:mm:ss", | |
"gitlens.statusBar.dateFormat": "YYYY/MM/DD", | |
"gitlens.statusBar.format": "${author}, ${agoOrDate} ${message}", | |
"gitlens.defaultGravatarsStyle": "retro", | |
"gitlens.defaultDateFormat": "YYYY/MM/DD HH:mm:ss", | |
"gitlens.views.repositories.branches.layout": "list", | |
"gitlens.views.repositories.files.layout": "tree", | |
"gitlens.views.compare.avatars": false, | |
"gitlens.views.repositories.avatars": false, | |
"gitlens.views.search.avatars": false, | |
"gitlens.advanced.telemetry.enabled": false, | |
"gitlens.menus": { | |
"editor": false, | |
"editorGroup": { | |
"blame": true, | |
"compare": false | |
}, | |
"editorTab": false, | |
"explorer": { | |
"clipboard": true, | |
"compare": true, | |
"history": true, | |
"remote": true | |
}, | |
"scmGroup": { | |
"compare": true, | |
"openClose": true, | |
"stash": true, | |
"stashInline": true | |
}, | |
"scmItem": { | |
"clipboard": true, | |
"compare": true, | |
"history": true, | |
"remote": true, | |
"stash": true | |
} | |
}, | |
// formatter/lint 设置:关掉 VSCode 的 formatter,使用 ESLint | |
"editor.codeActionsOnSave": { | |
"source.fixAll.eslint": true | |
}, | |
"html.format.enable": false, | |
"javascript.format.enable": false, | |
"json.format.enable": false, | |
"vetur.format.enable": false, | |
"typescript.format.enable": false, | |
// 各小插件设置 | |
"partialDiff.enableTelemetry": false, | |
"checkpoints.location": "scm", | |
"checkpoints.askForCheckpointName": false, | |
"checkpoints.locale": "en-US", | |
"sync.gist": "3ed3e6837c6cbba01e1e64b14b5f2dab", | |
"colorInfo.languages": [ | |
{ | |
"selector": "css", | |
"colors": "css" | |
}, | |
{ | |
"selector": "sass", | |
"colors": "css" | |
}, | |
{ | |
"selector": "scss", | |
"colors": "css" | |
}, | |
{ | |
"selector": "less", | |
"colors": "css" | |
}, | |
{ | |
"selector": "html", | |
"colors": "css" | |
}, | |
{ | |
"selector": "vue", | |
"colors": "css" | |
}, | |
], | |
"colorInfo.fields": ["hex", "rgb", "alpha"], | |
"editor.unfoldOnClickAfterEndOfLine": true, | |
"todo-tree.general.statusBarClickBehaviour": "reveal", | |
"todo-tree.regex.regexCaseSensitive": false, | |
"todo-tree.filtering.useBuiltInExcludes": "file and search excludes", | |
"todo-tree.tree.showCountsInTree": true, | |
"todo-tree.tree.flat": true, | |
"todo-tree.tree.showScanModeButton": false, | |
"todo-tree.tree.expanded": true, | |
"vscode-json-editor.theme": "dark", | |
"code-runner.showRunCommandInEditorContextMenu": false, | |
"editor.suggest.maxVisibleSuggestions": 15, | |
"code-runner.showRunCommandInExplorerContextMenu": false, | |
"code-runner.defaultLanguage": "javascript", | |
"bookmarks.sideBar.expanded": true, | |
"javascript.referencesCodeLens.showOnAllFunctions": true, | |
"javascript.referencesCodeLens.enabled": true, | |
"typescript.referencesCodeLens.showOnAllFunctions": true, | |
"typescript.referencesCodeLens.enabled": true, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Place your snippets for php here. Each snippet is defined under a snippet name and has a prefix, body and | |
// description. The prefix is what is used to trigger the snippet and the body will be expanded and inserted. Possible variables are: | |
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders. Placeholders with the | |
// same ids are connected. | |
// Example: | |
// "Print to console": { | |
// "prefix": "log", | |
// "body": [ | |
// "console.log('$1');", | |
// "$2" | |
// ], | |
// "description": "Log output to console" | |
// } | |
"log": { | |
"prefix": "log", | |
"body": "var_dump($1);die();", | |
"description": "打断点" | |
}, | |
"comment": { | |
"prefix": "comment", | |
"body": [ | |
"/**", | |
" * ${1:comment}", | |
" * @param ${2:param1}", | |
" * @param ${3:param2}", | |
" * @return ${4:return}", | |
" */", | |
] | |
}, | |
"return": { | |
"prefix": "return", | |
"body": "return ${0};", | |
"description": "return 语句" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment