Skip to content

Instantly share code, notes, and snippets.

@cmygit
Created November 7, 2019 16:27
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cmygit/37c6a7161bf6772e2ddbdda450e564e1 to your computer and use it in GitHub Desktop.
Save cmygit/37c6a7161bf6772e2ddbdda450e564e1 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-11-07T16:27:17.935Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "850c6bb1-4a81-4f83-a81f-835d651a211c",
"publisherId": "Mikael.Angular-BeastCode",
"publisherDisplayName": "Mikael"
},
"name": "Angular-BeastCode",
"publisher": "Mikael",
"version": "8.0.10"
},
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.6"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.1"
},
{
"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": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.1.2"
},
{
"metadata": {
"id": "7b71fc1b-190d-4f7d-95d1-93e422649b0a",
"publisherId": "Zignd.html-css-class-completion",
"publisherDisplayName": "Zignd"
},
"name": "html-css-class-completion",
"publisher": "Zignd",
"version": "1.19.0"
},
{
"metadata": {
"id": "a92d457e-6f3f-4167-8087-1a54e1b6e00e",
"publisherId": "Angular.ng-template",
"publisherDisplayName": "Angular"
},
"name": "ng-template",
"publisher": "Angular",
"version": "0.802.3"
},
{
"metadata": {
"id": "dff6b801-247e-40e9-82e8-8c9b1d19d1b8",
"publisherId": "christian-kohler.npm-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "npm-intellisense",
"publisher": "christian-kohler",
"version": "1.3.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "1.4.2"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "2.3.0"
},
{
"metadata": {
"id": "797a79de-a0fd-4349-9034-bec47be9a941",
"publisherId": "2gua.rainbow-brackets",
"publisherDisplayName": "2gua"
},
"name": "rainbow-brackets",
"publisher": "2gua",
"version": "0.0.6"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.22.2"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.22.6"
},
{
"metadata": {
"id": "1d4278a8-3599-45f1-a4ad-dd9723ff3904",
"publisherId": "alexiv.vscode-angular2-files",
"publisherDisplayName": "alexiv"
},
"name": "vscode-angular2-files",
"publisher": "alexiv",
"version": "1.6.2"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "vscode-icons-team.vscode-icons",
"publisherDisplayName": "vscode-icons-team"
},
"name": "vscode-icons",
"publisher": "vscode-icons-team",
"version": "9.5.0"
}
]
// 将键绑定放入此文件中以覆盖默认值
[
// ctrl+d删除一行
{
"key": "ctrl+d",
"command": "editor.action.deleteLines",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+k", //与删除一行的快捷键互换了:)
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
//ctrl+shift+/多行注释
{
"key": "ctrl+shift+/",
"command": "editor.action.blockComment",
"when": "editorTextFocus"
},
{
"key": "alt+q",
"command": "workbench.action.editor.changeLanguageMode"
},
{
"key": "ctrl+k m",
"command": "-workbench.action.editor.changeLanguageMode"
},
{
"key": "alt+1",
"command": "editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+up",
"command": "-editor.action.insertCursorAbove",
"when": "editorTextFocus"
},
{
"key": "alt+2",
"command": "editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+down",
"command": "-editor.action.insertCursorBelow",
"when": "editorTextFocus"
},
{
"key": "shift+alt+s",
"command": "workbench.action.files.saveAll"
},
{
"key": "ctrl+k s",
"command": "-workbench.action.files.saveAll"
},
{
"key": "ctrl+shift+u",
"command": "-workbench.action.output.toggleOutput"
},
{
"key": "ctrl+shift+u",
"command": "editor.action.transformToUppercase"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.transformToLowercase"
}
]
{
"editor.wordWrap": "on",
"editor.quickSuggestions": {
"other": true,
"comments": true,
"strings": true
},
"editor.formatOnSave": true,
"sync.gist": "",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": true,
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"files.autoSave": "afterDelay",
"editor.fontSize": 16,
"editor.tabSize": 2,
"files.autoGuessEncoding": true,
"editor.hover.delay": 150,
"javascript.implicitProjectConfig.experimentalDecorators": true,
"window.zoomLevel": 0,
"extensions.ignoreRecommendations": false,
"git.autofetch": true,
"editor.suggestSelection": "first",
"terminal.integrated.rendererType": "dom",
"workbench.iconTheme": "vscode-icons",
"search.followSymlinks": false,
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"path-intellisense.mappings": {
"@": "${workspaceRoot}/src"
},
"prettier.jsxSingleQuote": true,
"prettier.singleQuote": true,
"rest-client.fontSize": 16,
"rest-client.environmentVariables": {
"$shared": {},
"angular":{
"host": ""
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment