Skip to content

Instantly share code, notes, and snippets.

@zfw
Last active May 11, 2020 09:09
Show Gist options
  • Save zfw/b90bb19736255b0549641c7dc2875d09 to your computer and use it in GitHub Desktop.
Save zfw/b90bb19736255b0549641c7dc2875d09 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-05-11T09:09:17.051Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.61"
},
{
"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.6"
},
{
"metadata": {
"id": "c941a679-d500-46a8-b2a9-208063125901",
"publisherId": "wholroyd.jinja",
"publisherDisplayName": "wholroyd"
},
"name": "jinja",
"publisher": "wholroyd",
"version": "0.0.8"
},
{
"metadata": {
"id": "d4d8d0a4-54f0-4f10-b8fb-b53f1575c53c",
"publisherId": "keyring.Lua",
"publisherDisplayName": "keyring"
},
"name": "Lua",
"publisher": "keyring",
"version": "0.0.9"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "4.1.0"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.5.0"
},
{
"metadata": {
"id": "93ce222b-5f6f-49b7-9ab1-a0463c6238df",
"publisherId": "ms-vscode-remote.remote-containers",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-containers",
"publisher": "ms-vscode-remote",
"version": "0.117.0"
},
{
"metadata": {
"id": "607fd052-be03-4363-b657-2bd62b83d28a",
"publisherId": "ms-vscode-remote.remote-ssh",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh",
"publisher": "ms-vscode-remote",
"version": "0.51.0"
},
{
"metadata": {
"id": "bfeaf631-bcff-4908-93ed-fda4ef9a0c5c",
"publisherId": "ms-vscode-remote.remote-ssh-edit",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh-edit",
"publisher": "ms-vscode-remote",
"version": "0.51.0"
},
{
"metadata": {
"id": "f0c5397b-d357-4197-99f0-cb4202f22818",
"publisherId": "ms-vscode-remote.remote-wsl",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-wsl",
"publisher": "ms-vscode-remote",
"version": "0.44.2"
},
{
"metadata": {
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1",
"publisherId": "dracula-theme.theme-dracula",
"publisherDisplayName": "dracula-theme"
},
"name": "theme-dracula",
"publisher": "dracula-theme",
"version": "2.22.0"
},
{
"metadata": {
"id": "484d897a-6711-403c-ab54-a96f12be5833",
"publisherId": "Equinusocio.vsc-community-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-community-material-theme",
"publisher": "Equinusocio",
"version": "1.4.1"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "32.6.0"
},
{
"metadata": {
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113",
"publisherId": "equinusocio.vsc-material-theme-icons",
"publisherDisplayName": "equinusocio"
},
"name": "vsc-material-theme-icons",
"publisher": "equinusocio",
"version": "1.1.4"
},
{
"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": "10.1.1"
},
{
"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": "23d72dfc-8dd1-4e30-926e-8783b4378f13",
"publisherId": "ms-vscode-remote.vscode-remote-extensionpack",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "vscode-remote-extensionpack",
"publisher": "ms-vscode-remote",
"version": "0.20.0"
},
{
"metadata": {
"id": "5c16af7f-3c89-405c-bd8d-6f1a8ec915f8",
"publisherId": "marko2276.yang",
"publisherDisplayName": "marko2276"
},
"name": "yang",
"publisher": "marko2276",
"version": "0.1.3"
}
]
{
"agentPort": 39575,
"osReleaseId": "ubuntu",
"arch": "x86_64",
"webUiAccessToken": "",
"sshAuthSock": "",
"tmpDir": "/run/user/1000",
"platform": "linux",
"pid": 21928,
"ipcHandlePath": "\\\\.\\pipe\\vscode-ssh-askpass-f8ce5ac3f2ad926cf39eaebe7a1b1f77693efbaf-sock",
"socksPort": 64694,
"startupTime": 1585287311985
}
// 将键绑定放入此文件中以覆盖默认值
[
{
"key": "ctrl+alt+k",
"command": "-bookmarks.toggle",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+l",
"command": "-bookmarks.jumpToNext",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+j",
"command": "-bookmarks.jumpToPrevious",
"when": "editorTextFocus"
},
{
"key": "f12",
"command": "-editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "ctrl+alt+-",
"command": "workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "alt+,",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+alt+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "alt+.",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "ctrl+c t",
"command": "shellLauncher.launch"
},
{
"key": "ctrl+c c",
"command": "ccls.callHierarchy"
},
{
"key": "ctrl+c v",
"command": "ccls.vars"
},
{
"key": "ctrl+c a",
"command": "references-view.find",
"when": "editorHasReferenceProvider"
},
{
"key": "shift+alt+f12",
"command": "-references-view.find",
"when": "editorHasReferenceProvider"
},
{
"key": "ctrl+c r",
"command": "editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "shift+f12",
"command": "-editor.action.referenceSearch.trigger",
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor"
},
{
"key": "ctrl+c f",
"command": "editor.action.goToTypeDefinition"
},
{
"key": "ctrl+c e",
"command": "editor.action.peekTypeDefinition"
},
{
"key": "ctrl+c d",
"command": "editor.action.revealDefinition"
},
{
"key": "ctrl+alt+e",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer"
},
{
"key": "ctrl+alt+e",
"command": "workbench.action.quickOpenNavigatePreviousInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.action.quickOpenNavigatePreviousInFilePicker",
"when": "inFilesPicker && inQuickOpen"
},
{
"key": "alt+w",
"command": "editor.action.clipboardCopyAction",
"when": "textInputFocus"
},
{
"key": "ctrl+insert",
"command": "-editor.action.clipboardCopyAction",
"when": "textInputFocus"
},
{
"key": "ctrl+w",
"command": "editor.action.clipboardCutAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "shift+delete",
"command": "-editor.action.clipboardCutAction",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+c m",
"command": "ccls.memberHierarchy"
},
{
"key": "ctrl+alt+r",
"command": "code-runner.run"
},
{
"key": "ctrl+alt+n",
"command": "-code-runner.run"
},
{
"key": "ctrl+alt+t",
"command": "workbench.action.tasks.runTask"
},
{
"key": "ctrl+alt+b",
"command": "workbench.action.tasks.build"
},
{
"key": "ctrl+shift+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "alt+m",
"command": "highlightwords.addHighlight"
},
{
"key": "alt+/",
"command": "highlightwords.removeHighlight"
},
{
"key": "shift+alt+/",
"command": "highlightwords.removeAllHighlights"
}
]
{
"editor.minimap.enabled": true,
"workbench.sideBar.location": "left",
"workbench.editor.revealIfOpen": true,
"explorer.confirmDelete": false,
"files.autoSave": "off",
"workbench.startupEditor": "newUntitledFile",
"files.autoGuessEncoding": true,
"files.associations": {
"*.txt": "robot"
},
"window.openFilesInNewWindow": "default",
"debug.openDebug": "neverOpen",
"debug.internalConsoleOptions": "neverOpen",
"workbench.statusBar.feedback.visible": false,
"debug.showInStatusBar": "never",
"files.insertFinalNewline": true,
"breadcrumbs.enabled": true,
"sync.gist": "b90bb19736255b0549641c7dc2875d09",
"sync.autoUpload": true,
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"http.proxySupport": "off",
"c-cpp-flylint.flexelint.enable": false,
"vsicons.dontShowNewVersionMessage": true,
"sync.quietSync": true,
"[c]": {
"editor.defaultFormatter": "ccls-project.ccls"
},
"[cpp]": {
"editor.defaultFormatter": "ccls-project.ccls"
},
"C_Cpp.default.intelliSenseMode": "clang-x64",
"[typescript]": {
"editor.defaultFormatter": "vscode.typescript-language-features"
},
"c-cpp-flylint.language": "c",
"c-cpp-flylint.ignoreParseErrors": true,
"c-cpp-flylint.cppcheck.verbose": true,
"c-cpp-flylint.cppcheck.severityLevels": {
"error": "Error",
"warning": "Warning",
"style": "Information",
"performance": "Warning",
"portability": "Warning",
"information": "Information"
},
"C_Cpp.default.cStandard": "c99",
"C_Cpp.updateChannel": "Insiders",
"C_Cpp.intelliSenseCachePath": "../.vscode",
"c-cpp-flylint.clang.enable": false,
"C_Cpp.formatting": "Disabled",
"ccls.highlighting.enabled.types": true,
"ccls.highlighting.enabled.freeStandingFunctions": true,
"ccls.highlighting.enabled.memberFunctions": true,
"ccls.highlighting.enabled.freeStandingVariables": true,
"ccls.highlighting.enabled.memberVariables": true,
"ccls.highlighting.enabled.namespaces": true,
"ccls.highlighting.enabled.macros": true,
"ccls.highlighting.enabled.enums": true,
"ccls.highlighting.enabled.typeAliases": true,
"ccls.highlighting.enabled.enumConstants": true,
"ccls.highlighting.enabled.staticMemberFunctions": true,
"ccls.highlighting.enabled.parameters": true,
"ccls.highlighting.enabled.templateParameters": true,
"ccls.highlighting.enabled.staticMemberVariables": true,
"ccls.highlighting.enabled.globalVariables": true,
"ccls.cache.directory": "${workspaceFolder}/../.vscode/.ccls-cache/",
"ccls.launch.command": "ccls",
"ccls.completion.include.blacklist": [
".vscode/*"
],
"ccls.index.multiVersion": 1,
"ccls.completion.detailedLabel": true,
"ccls.completion.include.maxPathSize": 0,
"doxdocgen.generic.authorEmail": "zhangfengwei@ruijie.com.cn",
"doxdocgen.generic.authorName": "zhangfengwei",
"doxdocgen.file.versionTag": "v1.0",
"doxdocgen.file.copyrightTag": [
"Copyright (c) {year} Ruijie Network. All rights reserved."
],
"doxdocgen.file.fileOrder": [
"copyright",
"file",
"author",
"empty",
"brief",
"date",
"empty",
"custom"
],
"doxdocgen.generic.dateTemplate": "{date}",
"doxdocgen.generic.authorTag": "Original Author: {email}",
"doxdocgen.generic.briefTemplate": "{text}",
"doxdocgen.file.fileTemplate": "{name}",
"doxdocgen.file.customTag": ["History", "@version {email} {date}"],
"doxdocgen.generic.order": [
"brief",
"empty",
"tparam",
"param",
"return"
],
"workbench.colorTheme": "Default High Contrast",
"remote.SSH.showLoginTerminal": true,
"workbench.iconTheme": "material-icon-theme",
"svn.enableProposedApi": "argument",
"bracket-pair-colorizer-2.colorMode": "Independent",
"editor.foldingStrategy": "indentation",
"clangd.path": "/usr/bin/clangd",
"clangd.arguments": [
"-background-index",
"-compile-commands-dir=/mnt/d/work/images/header/"
],
"leetcode.endpoint": "leetcode-cn",
"leetcode.defaultLanguage": "c",
"leetcode.hint.configWebviewMarkdown": false,
"leetcode.hint.commentDescription": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"git.enableSmartCommit": true,
"diffEditor.ignoreTrimWhitespace": false,
"sync.forceUpload": true,
"window.zoomLevel": 2,
"editor.fontWeight": "bold",
"terminal.integrated.rendererType": "dom",
"files.encoding": "gb2312",
"remote.SSH.suppressWindowsSshWarning": true,
"remote.SSH.remotePlatform": {
"172.29.116.9": "linux",
"172.29.116.10": "linux"
},
"todo-tree.tree.showScanModeButton": false,
"python.jediEnabled": false,
"files.trimTrailingWhitespace": true,
"editor.tabSize": 2,
"editor.rulers": [
100
],
"workbench.editor.enablePreview": false
}
{
/*
// Place your snippets for C 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"
}
*/
"for": {
"prefix": "#for",
"body": [
"for (${1:i} = ${2:0}; ${1:i} < ${3:length}; ${1:i}++) {",
" $4",
"}"
],
"description": "Code snippet for 'for' loop"
},
"forr": {
"prefix": "forr",
"body": [
"for (${1:i} = ${2:length} - 1; ${1:i} >= ${3:0}; ${1:i}--) {",
" $4",
"}"
],
"description": "Code snippet for reverse 'for' loop"
},
"while": {
"prefix": "#while",
"body": [
"while ($1) {",
" $2",
"}"
],
"description": ""
},
"do while": {
"prefix": "#do",
"body": [
"do {",
" $2",
"} while ($1);",
],
"description": "Code snippet for do while loop"
},
"if": {
"prefix": "#ifs",
"body": [
"if ($1) {",
" $2",
"}"
],
"description": "Code snippet for if statement"
},
"if else": {
"prefix": "ifelse",
"body": [
"if ($1) {",
" $2",
"} else {",
" ",
"}",
],
"description": "Code snippet for if else statement"
},
"else": {
"prefix": "#else",
"body": [
"else {",
" $1",
"}"
],
"description": "Code snippet for else statement"
},
"else if": {
"prefix": "else if",
"body": [
"else if ($1) {",
" $2",
"}"
],
"description": "Code snippet for else-if statement"
},
"enum": {
"prefix": "#enum",
"body": [
"enum ${1} {",
" ${2}",
"};"
],
"description": "Code snippet for enum"
},
"typedef enum" : {
"prefix": "typedefe",
"body": [
"typedef enum ${1}_e {",
" ${3}",
"} ${1}_t;"
],
"description": "code snippet for typedef enum"
},
"#ifdef": {
"prefix": "#ifdef",
"body": [
"#ifdef ${DEBUG}",
"$1",
"#endif // ${DEBUG}"
],
"description": "Code snippet for #ifdef"
},
"#ifndef": {
"prefix": "#ifndef",
"body": [
"#ifndef ${1:1}",
"$2",
"#endif /* ${1} */"
],
"description": "Code snippet for #ifndef"
},
"#if": {
"prefix": "#if",
"body": [
"#ifdef ${1:0}",
"$2",
"#endif // $1"
],
"description": "Code snippet for #if"
},
"struct": {
"prefix": "#struct",
"body": [
"struct ${1} {",
" $2",
"};"
],
"description": "Code snippet for struct"
},
"switch": {
"prefix": "#switch",
"body": [
"switch (${1}) {",
"${2}",
"default:",
" break;",
"}"
],
"description": "Code snippet for switch statement"
},
"union": {
"prefix": "#union",
"body": [
"union ${1} {",
" ${2}",
"};"
],
"description": "Code snippet for union"
},
"typedef struct": {
"prefix": "typedefs",
"body": [
"typedef struct ${1}_s {",
" $2",
"} ${1}_t;"
],
"description": "code snippet for typedef struct"
},
"typedef" : {
"prefix": "#typedef",
"body": "typedef ${1} ${2};",
"description": "code snippet for typedef"
},
"#inc": {
"prefix": "#inc",
"body": [
"#include \"$1\""
],
"description": "Code snippet for #include \" \""
},
"#inc<": {
"prefix": "#inc<",
"body": [
"#include <$1>"
],
"description": "Code snippet for #include \" \""
},
"#def": {
"prefix": "#def",
"body": [
"#define \"$1\" \"$2\" "
],
"description": "Code snippet for #define \" \""
}
}
{
// Place your snippets for cpp 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"
// }
}
{
// Place your snippets for typescript 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"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment