Skip to content

Instantly share code, notes, and snippets.

@forkercat
Last active March 28, 2019 01:46
Show Gist options
  • Save forkercat/0db27909e7ffb0bfc2b42bd4a22e19cc to your computer and use it in GitHub Desktop.
Save forkercat/0db27909e7ffb0bfc2b42bd4a22e19cc to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-03-28T01:46:10.783Z","extensionVersion":"v3.2.7"}
[
{
"metadata": {
"id": "005fbbc2-f554-4b9b-af7a-54474d18d424",
"publisherId": "speedy37.ascii-plist",
"publisherDisplayName": "speedy37"
},
"name": "ascii-plist",
"publisher": "speedy37",
"version": "1.0.1"
},
{
"metadata": {
"id": "dee8df91-b82e-4d4c-a99a-872360b1d015",
"publisherId": "shalldie.background",
"publisherDisplayName": "shalldie"
},
"name": "background",
"publisher": "shalldie",
"version": "1.1.19"
},
{
"metadata": {
"id": "a8ed730a-2f6f-4386-bd67-63a2500047d9",
"publisherId": "momoto.binary-viewer",
"publisherDisplayName": "momoto"
},
"name": "binary-viewer",
"publisher": "momoto",
"version": "0.0.1"
},
{
"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": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.9.7"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.7"
},
{
"metadata": {
"id": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
"publisherId": "streetsidesoftware.code-spell-checker",
"publisherDisplayName": "streetsidesoftware"
},
"name": "code-spell-checker",
"publisher": "streetsidesoftware",
"version": "1.6.10"
},
{
"metadata": {
"id": "ed3d7ee9-a793-4092-bd26-c06819da7a1b",
"publisherId": "lucax88x.codeacejumper",
"publisherDisplayName": "lucax88x"
},
"name": "codeacejumper",
"publisher": "lucax88x",
"version": "2.0.0"
},
{
"metadata": {
"id": "121396ad-85a1-45ec-9fd1-d95028a847f5",
"publisherId": "naumovs.color-highlight",
"publisherDisplayName": "naumovs"
},
"name": "color-highlight",
"publisher": "naumovs",
"version": "2.3.0"
},
{
"metadata": {
"id": "39cc1814-5d9b-4f93-a8a2-d3688e15dd96",
"publisherId": "s3anmorrow.color-stamp",
"publisherDisplayName": "s3anmorrow"
},
"name": "color-stamp",
"publisher": "s3anmorrow",
"version": "1.0.0"
},
{
"metadata": {
"id": "43a7e93f-1afa-49b1-992c-10ccd7b93164",
"publisherId": "weakish.complete-statement",
"publisherDisplayName": "weakish"
},
"name": "complete-statement",
"publisher": "weakish",
"version": "0.0.2016"
},
{
"metadata": {
"id": "888cfd0f-fee8-4ae9-9143-ae4b8c3cd68b",
"publisherId": "gio00.convertplist",
"publisherDisplayName": "gio00"
},
"name": "convertplist",
"publisher": "gio00",
"version": "0.0.6"
},
{
"metadata": {
"id": "ac659f70-9fc4-434c-b5c3-5d2d4fd8ff58",
"publisherId": "yyxhx.cpp-quick-start-snippet-for-beginners",
"publisherDisplayName": "yyxhx"
},
"name": "cpp-quick-start-snippet-for-beginners",
"publisher": "yyxhx",
"version": "1.0.1"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.22.1"
},
{
"metadata": {
"id": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff",
"publisherId": "ms-vscode.csharp",
"publisherDisplayName": "ms-vscode"
},
"name": "csharp",
"publisher": "ms-vscode",
"version": "1.18.0"
},
{
"metadata": {
"id": "89d44179-27af-4106-a3c1-46a537ef1d0a",
"publisherId": "tuttieee.emacs-mcx",
"publisherDisplayName": "tuttieee"
},
"name": "emacs-mcx",
"publisher": "tuttieee",
"version": "0.11.1"
},
{
"metadata": {
"id": "774a0064-7683-400f-9210-02be20e0bd2e",
"publisherId": "vittorioromeo.expand-selection-to-scope",
"publisherDisplayName": "vittorioromeo"
},
"name": "expand-selection-to-scope",
"publisher": "vittorioromeo",
"version": "0.2.0"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.6"
},
{
"metadata": {
"id": "198a707e-28af-4e84-8610-6e2f628dd12d",
"publisherId": "redhat.java",
"publisherDisplayName": "redhat"
},
"name": "java",
"publisher": "redhat",
"version": "0.41.0"
},
{
"metadata": {
"id": "59936e46-83f8-43fc-9c97-13a21280c091",
"publisherId": "sohibe.java-generate-setters-getters",
"publisherDisplayName": "sohibe"
},
"name": "java-generate-setters-getters",
"publisher": "sohibe",
"version": "4.1.1"
},
{
"metadata": {
"id": "93ecc089-f396-47b4-8676-7fa3bc156a2c",
"publisherId": "sysoev.language-stylus",
"publisherDisplayName": "sysoev"
},
"name": "language-stylus",
"publisher": "sysoev",
"version": "1.11.0"
},
{
"metadata": {
"id": "61d03280-3919-4dd1-bce1-178ca21fdeaf",
"publisherId": "James-Yu.latex-workshop",
"publisherDisplayName": "James-Yu"
},
"name": "latex-workshop",
"publisher": "James-Yu",
"version": "6.2.2"
},
{
"metadata": {
"id": "ee577500-fad7-4a2b-b19a-bf7ef89f766c",
"publisherId": "geddski.macros",
"publisherDisplayName": "geddski"
},
"name": "macros",
"publisher": "geddski",
"version": "1.2.1"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "2.2.0"
},
{
"metadata": {
"id": "19cb2ed6-1301-4849-bc09-3eb68ea99d39",
"publisherId": "amoosbr.markdown-imsize",
"publisherDisplayName": "amoosbr"
},
"name": "markdown-imsize",
"publisher": "amoosbr",
"version": "0.0.2"
},
{
"metadata": {
"id": "a4f91432-1b7d-4acd-b906-76d8ac8ad7e7",
"publisherId": "mdickin.markdown-shortcuts",
"publisherDisplayName": "mdickin"
},
"name": "markdown-shortcuts",
"publisher": "mdickin",
"version": "0.11.0"
},
{
"metadata": {
"id": "b3e0fd54-cb55-4b37-816d-c50424c4c72e",
"publisherId": "kdarkhan.mips",
"publisherDisplayName": "kdarkhan"
},
"name": "mips",
"publisher": "kdarkhan",
"version": "0.0.3"
},
{
"metadata": {
"id": "734977ac-a4bc-451a-9f17-46a2dc3c3e94",
"publisherId": "selbh.move-fast",
"publisherDisplayName": "selbh"
},
"name": "move-fast",
"publisher": "selbh",
"version": "0.1.0"
},
{
"metadata": {
"id": "113b22c8-8125-42ec-8c6b-80c3f5d5fa5f",
"publisherId": "IBM.output-colorizer",
"publisherDisplayName": "IBM"
},
"name": "output-colorizer",
"publisher": "IBM",
"version": "0.1.2"
},
{
"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": "4f1ac5ff-ef9c-4c01-8324-cfaa7f215f57",
"publisherId": "nobuhito.printcode",
"publisherDisplayName": "nobuhito"
},
"name": "printcode",
"publisher": "nobuhito",
"version": "3.0.0"
},
{
"metadata": {
"id": "bec6a8b1-31d4-4f4e-9b3c-9141285b359f",
"publisherId": "zhouronghui.propertylist",
"publisherDisplayName": "zhouronghui"
},
"name": "propertylist",
"publisher": "zhouronghui",
"version": "0.0.2"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2019.3.6139"
},
{
"metadata": {
"id": "f046b1cf-eb92-47d6-98f5-93e9529368c2",
"publisherId": "uyiosa-enabulele.reopenclosedtab",
"publisherDisplayName": "uyiosa-enabulele"
},
"name": "reopenclosedtab",
"publisher": "uyiosa-enabulele",
"version": "1.1.0"
},
{
"metadata": {
"id": "07e1dd03-92c5-45ef-ab1c-e74986aa3e95",
"publisherId": "zhutian.swig",
"publisherDisplayName": "zhutian"
},
"name": "swig",
"publisher": "zhutian",
"version": "0.0.5"
},
{
"metadata": {
"id": "d71e3b36-ce15-4d85-9a47-92cdebbdaab3",
"publisherId": "edwardhjp.vscode-author-generator",
"publisherDisplayName": "edwardhjp"
},
"name": "vscode-author-generator",
"publisher": "edwardhjp",
"version": "0.0.8"
},
{
"metadata": {
"id": "f8dbe169-d649-4e4b-adb8-ffa113c1d616",
"publisherId": "mitaki28.vscode-clang",
"publisherDisplayName": "mitaki28"
},
"name": "vscode-clang",
"publisher": "mitaki28",
"version": "0.2.3"
},
{
"metadata": {
"id": "1b160753-ae5e-42bb-82ad-d115ce5c10f4",
"publisherId": "be5invis.vscode-custom-css",
"publisherDisplayName": "be5invis"
},
"name": "vscode-custom-css",
"publisher": "be5invis",
"version": "3.0.3"
},
{
"metadata": {
"id": "21b3e09e-b3f7-4e20-9302-50039286650d",
"publisherId": "mkxml.vscode-filesize",
"publisherDisplayName": "mkxml"
},
"name": "vscode-filesize",
"publisher": "mkxml",
"version": "2.1.2"
},
{
"metadata": {
"id": "4ecd3cb4-21a4-48d5-b9ae-f5d9b1882fde",
"publisherId": "lehni.vscode-fix-checksums",
"publisherDisplayName": "lehni"
},
"name": "vscode-fix-checksums",
"publisher": "lehni",
"version": "1.1.0"
},
{
"metadata": {
"id": "829a192d-496c-44ac-87f3-0a84ce36a853",
"publisherId": "emmanuelbeziat.vscode-great-icons",
"publisherDisplayName": "emmanuelbeziat"
},
"name": "vscode-great-icons",
"publisher": "emmanuelbeziat",
"version": "2.1.47"
},
{
"metadata": {
"id": "eedfd044-d5ac-4389-973d-3ac1fdb98ad5",
"publisherId": "kisstkondoros.vscode-gutter-preview",
"publisherDisplayName": "kisstkondoros"
},
"name": "vscode-gutter-preview",
"publisher": "kisstkondoros",
"version": "0.18.0"
},
{
"metadata": {
"id": "d2bb6582-b6fd-4875-8c28-68a1d7bc042b",
"publisherId": "codeyu.vscode-hexo",
"publisherDisplayName": "codeyu"
},
"name": "vscode-hexo",
"publisher": "codeyu",
"version": "1.0.1"
},
{
"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": "8.4.0"
},
{
"metadata": {
"id": "61fcd0cf-64d7-4836-8d6b-d55f4fb83281",
"publisherId": "vscjava.vscode-java-debug",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-debug",
"publisher": "vscjava",
"version": "0.17.0"
},
{
"metadata": {
"id": "7865e561-1c83-410e-9b99-aabada597a7e",
"publisherId": "vscjava.vscode-java-dependency",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-dependency",
"publisher": "vscjava",
"version": "0.4.0"
},
{
"metadata": {
"id": "96f11e1f-1a46-4592-b084-f025b2c2a81f",
"publisherId": "vscjava.vscode-java-pack",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-pack",
"publisher": "vscjava",
"version": "0.6.0"
},
{
"metadata": {
"id": "67c06b0d-1891-42ca-b2a8-113e79bff069",
"publisherId": "vscjava.vscode-java-test",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-test",
"publisher": "vscjava",
"version": "0.15.1"
},
{
"metadata": {
"id": "b0f06c6b-24fb-4d7b-bd79-bc5e2fa17312",
"publisherId": "vscjava.vscode-maven",
"publisherDisplayName": "vscjava"
},
"name": "vscode-maven",
"publisher": "vscjava",
"version": "0.15.2"
},
{
"metadata": {
"id": "69ddd764-339a-4ecc-97c1-9c4ece58e36d",
"publisherId": "GitHub.vscode-pull-request-github",
"publisherDisplayName": "GitHub"
},
"name": "vscode-pull-request-github",
"publisher": "GitHub",
"version": "0.5.1"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.1.5"
},
{
"metadata": {
"id": "03de82ee-b6a4-46c9-bde7-7b6793ffa232",
"publisherId": "wraith13.zoombar-vscode",
"publisherDisplayName": "wraith13"
},
"name": "zoombar-vscode",
"publisher": "wraith13",
"version": "1.2.0"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+r",
"command": "code-runner.run",
"when": "editorTextFocus && !editorReadonly",
},
{
"key": "shift+cmd+r",
"command": "workbench.action.debug.start",
"when": "!inDebugMode"
},
{
"key": "cmd+.",
"command": "workbench.action.debug.stop",
"when": "inDebugMode"
},
{
"key": "cmd+r",
"command": "workbench.action.debug.restart",
"when": "inDebugMode"
},
{
"key": "cmd+shift+c",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "alt+q",
"command": "editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+shift+q",
"command": "editor.action.addSelectionToPreviousFindMatch",
"when": "editorFocus"
},
{
"key": "alt+v",
"command": "-emacs.cursorPageUp",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{
"key": "ctrl+v",
"command": "-emacs.cursorPageDown",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{
"key": "pageup",
"command": "-emacs.cursorPageUp",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{
"key": "ctrl+k",
"command": "-emacs.C-k",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+tab",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "ctrl+space",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "shift+cmd+d",
"command": "-workbench.view.debug"
},
{
"key": "shift+cmd+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+down",
"command": "-editor.action.copyLinesDownAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+d",
"command": "-editor.action.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+n",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "ctrl+n",
"command": "-selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "ctrl+n",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+n",
"command": "-selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+p",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "ctrl+p",
"command": "-selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "ctrl+p",
"command": "selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+p",
"command": "-selectPrevSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "shift+cmd+a",
"command": "revealFileInOS",
"when": "!editorFocus"
},
{
"key": "alt+cmd+r",
"command": "-revealFileInOS",
"when": "!editorFocus"
},
{
"key": "ctrl+;",
"command": "extension.complete-statement",
"when": "editorTextFocus"
},
{
"key": "cmd+;",
"command": "-extension.complete-statement",
"when": "editorTextFocus"
},
{
"key": "ctrl+j",
"command": "-editor.action.joinLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "-emacs.C-j",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "-closeFindWidget",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "cmd+enter",
"command": "-editor.action.insertLineAfter",
"when": "editorTextFocus && !editorReadonly"
},
// {
// "key": "cmd+r",
// "command": "workbench.action.debug.run",
// "when": "!inDebugMode"
// },
{
"key": "alt+n",
"command": "moveFast.down",
"when": "editorTextFocus"
},
{
"key": "ctrl+down",
"command": "-moveFast.down",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+down",
"command": "-moveFast.downSelect",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+up",
"command": "-moveFast.upSelect",
"when": "editorTextFocus"
},
{
"key": "alt+p",
"command": "moveFast.up",
"when": "editorTextFocus"
},
{
"key": "ctrl+up",
"command": "-moveFast.up",
"when": "editorTextFocus"
},
{
"key": "ctrl+q",
"command": "editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+cmd+right",
"command": "-editor.action.smartSelect.expand",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+q",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+cmd+left",
"command": "-editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "shift+alt+q",
"command": "editor.action.moveSelectionToPreviousFindMatch"
},
{
"key": "ctrl+g",
"command": "extension.aceJump.input.stop",
"when": "aceJumpInput && editorTextFocus"
},
{
"key": "escape",
"command": "-extension.aceJump.input.stop",
"when": "aceJumpInput && editorTextFocus"
},
{
"key": "ctrl+shift+cmd+p",
"command": "workbench.action.gotoSymbol"
},
{
"key": "shift+cmd+o",
"command": "-workbench.action.gotoSymbol"
},
{
"key": "shift+cmd+o",
"command": "workbench.action.quickOpen"
},
{
"key": "ctrl+x ctrl+f",
"command": "-workbench.action.quickOpen"
},
{
"key": "ctrl+x 2",
"command": "-workbench.action.splitEditor"
},
{
"key": "alt+cmd+3",
"command": "workbench.action.splitEditorDown"
},
{
"key": "alt+cmd+1",
"command": "workbench.action.editorLayoutSingle"
},
{
"key": "cmd+8",
"command": "-workbench.action.focusEighthEditorGroup"
},
{
"key": "cmd+5",
"command": "-workbench.action.focusFifthEditorGroup"
},
{
"key": "cmd+4",
"command": "-workbench.action.focusFourthEditorGroup"
},
{
"key": "cmd+2",
"command": "-workbench.action.focusSecondEditorGroup"
},
{
"key": "cmd+7",
"command": "-workbench.action.focusSeventhEditorGroup"
},
{
"key": "cmd+6",
"command": "-workbench.action.focusSixthEditorGroup"
},
{
"key": "cmd+3",
"command": "-workbench.action.focusThirdEditorGroup"
},
{
"key": "shift+cmd+e",
"command": "-workbench.view.explorer"
},
{
"key": "cmd+shift+f",
"command": "workbench.action.findInFiles"
},
{
"key": "cmd+2",
"command": "workbench.action.findInFiles"
},
{
"key": "shift+cmd+f",
"command": "-workbench.action.findInFiles"
},
{
"key": "alt+4",
"command": "workbench.view.debug"
},
{
"key": "shift+cmd+x",
"command": "workbench.view.extensions"
},
{
"key": "shift+cmd+x",
"command": "-workbench.view.extensions"
},
{
"key": "alt+6",
"command": "workbench.view.extension.test"
},
{
"key": "cmd+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "cmd+1",
"command": "-workbench.action.focusFirstEditorGroup"
},
{
"key": "ctrl+alt+space",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "shift+cmd+1",
"command": "-editor.action.replaceOne",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "shift+cmd+1",
"command": "-search.action.replace",
"when": "matchFocus && replaceActive && searchViewletVisible"
},
{
"key": "shift+cmd+1",
"command": "-search.action.replaceAllInFile",
"when": "fileMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "shift+cmd+1",
"command": "-search.action.replaceAllInFolder",
"when": "folderMatchFocus && replaceActive && searchViewletVisible"
},
{
"key": "cmd+m",
"command": "-markdown.extension.editing.toggleMath",
"when": "editorTextFocus && !editorReadonly && editorLangId == 'markdown'"
},
{
"key": "cmd+k v",
"command": "-markdown.showPreviewToSide",
"when": "editorLangId == 'markdown'"
},
{
"key": "cmd+k v",
"command": "-markdown.extension.togglePreviewToSide",
"when": "!terminalFocus"
},
{
"key": "shift+cmd+v",
"command": "-markdown.extension.togglePreview",
"when": "!terminalFocus"
},
{
"key": "ctrl+cmd+1",
"command": "-workbench.action.moveEditorToFirstGroup"
},
{
"key": "shift+space",
"command": "toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+space",
"command": "-toggleSuggestionDetails",
"when": "suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+b",
"command": "-md-shortcut.toggleBold",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "shift+cmd+l",
"command": "md-shortcut.toggleLink",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+l",
"command": "-md-shortcut.toggleLink",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "shift+cmd+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+i",
"command": "-md-shortcut.toggleItalic",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "shift+cmd+i",
"command": "md-shortcut.toggleImage",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+shift+l",
"command": "-md-shortcut.toggleImage",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "shift+cmd+k",
"command": "md-shortcut.toggleCodeBlock",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+m ctrl+c",
"command": "-md-shortcut.toggleCodeBlock",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "cmd+k",
"command": "md-shortcut.toggleInlineCode",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+m ctrl+i",
"command": "-md-shortcut.toggleInlineCode",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+m ctrl+x",
"command": "-md-shortcut.toggleCheckboxes",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+m ctrl+b",
"command": "-md-shortcut.toggleBullets",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+m ctrl+1",
"command": "-md-shortcut.toggleNumbers",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+m ctrl+m",
"command": "-md-shortcut.showCommandPalette",
"when": "editorTextFocus && markdownShortcuts:enabled"
},
{
"key": "ctrl+2",
"command": "md-shortcut.toggleTitleH2",
"when": "editorLangId == 'markdown'"
},
{
"key": "ctrl+3",
"command": "md-shortcut.toggleTitleH3",
"when": "editorLangId == 'markdown'"
},
{
"key": "ctrl+4",
"command": "md-shortcut.toggleTitleH4",
"when": "editorLangId == 'markdown'"
},
{
"key": "ctrl+5",
"command": "md-shortcut.toggleTitleH5",
"when": "editorLangId == 'markdown'"
},
{
"key": "ctrl+6",
"command": "md-shortcut.toggleTitleH6",
"when": "editorLangId == 'markdown'"
},
{
"key": "ctrl+x ctrl+f",
"command": "-workbench.action.files.openFolder"
},
{
"key": "cmd+0",
"command": "-workbench.action.focusSideBar"
},
{
"key": "ctrl+/",
"command": "-emacs.undo",
"when": "editorTextFocus"
},
{
"key": "ctrl+/",
"command": "editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "ctrl+;",
"command": "-editor.action.commentLine",
"when": "editorTextFocus"
},
{
"key": "cmd+numpad0",
"command": "-workbench.action.zoomReset"
},
{
"key": "ctrl+-",
"command": "-workbench.action.quickInputBack",
"when": "inQuickOpen"
},
{
"key": "ctrl+-",
"command": "-workbench.action.navigateBack"
},
{
"key": "shift+cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "cmd+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "cmd+numpad_add",
"command": "-workbench.action.zoomIn"
},
{
"key": "shift+cmd+=",
"command": "-workbench.action.zoomIn"
},
{
"key": "cmd+numpad_subtract",
"command": "-workbench.action.zoomOut"
},
{
"key": "cmd+-",
"command": "-workbench.action.zoomOut"
},
{
"key": "cmd+0",
"command": "zoombar-vscode.resetZoom"
},
{
"key": "shift+cmd+0",
"command": "zoombar-vscode.selectZoom"
},
{
"key": "cmd+=",
"command": "zoombar-vscode.zoomIn"
},
{
"key": "cmd+-",
"command": "zoombar-vscode.zoomOut"
},
{
"key": "alt+`",
"command": "workbench.action.toggleEditorGroupLayout"
},
{
"key": "alt+cmd+0",
"command": "-workbench.action.toggleEditorGroupLayout"
},
{
"key": "cmd+shift+v",
"command": "-markdown.showPreview",
"when": "editorLangId == 'markdown'"
},
{
"key": "cmd+shift+r",
"command": "markdown.extension.togglePreviewToSide",
"when": "editorLangId == 'markdown'"
},
{
"key": "ctrl+shift+cmd+r",
"command": "markdown.extension.togglePreview",
"when": "editorLangId == 'markdown'"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "ctrl+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "ctrl+3",
"command": "-workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+4",
"command": "-workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+5",
"command": "-workbench.action.openEditorAtIndex5"
},
{
"key": "cmd+9",
"command": "workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+9",
"command": "-workbench.action.openEditorAtIndex9"
},
{
"key": "ctrl+0",
"command": "-workbench.action.lastEditorInGroup"
},
{
"key": "cmd+9",
"command": "-workbench.action.lastEditorInGroup"
},
{
"key": "cmd+9",
"command": "workbench.action.lastEditorInGroup"
},
{
"key": "ctrl+h",
"command": "-deleteLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "-deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "-emacs-mcx.newLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "emacs-mcx.deleteBackwardChar",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+h",
"command": "-emacs-mcx.deleteBackwardChar",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+x ctrl+o",
"command": "-emacs-mcx.deleteBlankLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+i",
"command": "-emacs-mcx.executeCommands"
},
{
"key": "alt+v",
"command": "-emacs-mcx.scrollDownCommand",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{
"key": "ctrl+v",
"command": "-emacs-mcx.scrollUpCommand",
"when": "editorTextFocus && !suggestWidgetVisible"
},
{
"key": "ctrl+u",
"command": "-emacs-mcx.universalArgument",
"when": "editorTextFocus"
},
{
"key": "alt+l",
"command": "-emacs-mcx.transformToLowercase",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+x ctrl+l",
"command": "-emacs-mcx.transformToLowercase",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+x ctrl+u",
"command": "-emacs-mcx.transformToUppercase",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+backspace",
"command": "-deleteLeft",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+backspace",
"command": "-emacs-mcx.killWholeLine",
"when": "editorTextFocus"
},
{
"key": "shift+cmd+enter",
"command": "-editor.action.insertLineBefore",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+r",
"command": "-actions.find",
"when": "!findWidgetVisible"
},
{
"key": "ctrl+r",
"command": "-editor.action.previousMatchFindAction",
"when": "findWidgetVisible"
},
{
"key": "ctrl+r",
"command": "-workbench.action.openRecent"
},
{
"key": "ctrl+r",
"command": "-workbench.action.quickOpenNavigateNextInRecentFilesPicker",
"when": "inQuickOpen && inRecentFilesPicker"
},
{
"key": "ctrl+cmd+[",
"command": "workbench.action.navigateBack"
},
{
"key": "ctrl+cmd+]",
"command": "workbench.action.navigateForward"
},
{
"key": "ctrl+shift+-",
"command": "-workbench.action.navigateForward"
},
{
"key": "ctrl+m",
"command": "-emacs-mcx.newLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+r",
"command": "workbench.files.action.refreshFilesExplorer",
"when": "explorerViewletVisible && filesExplorerFocus"
},
{
"key": "ctrl+alt+n",
"command": "-code-runner.run"
},
{
"key": "ctrl+alt+n",
"command": "-emacs-mcx.addSelectionToNextFindMatch",
"when": "editorFocus"
},
{
"key": "ctrl+shift+p",
"command": "scrollLineUp",
"when": "textInputFocus"
},
{
"key": "ctrl+pageup",
"command": "-scrollLineUp",
"when": "textInputFocus"
},
{
"key": "ctrl+shift+n",
"command": "scrollLineDown",
"when": "textInputFocus"
},
{
"key": "ctrl+pagedown",
"command": "-scrollLineDown",
"when": "textInputFocus"
},
{
"key": "ctrl+x ctrl+o",
"command": "macros.changeGroup",
},
{
"key": "ctrl+;",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+;",
"command": "-emacs-mcx.executeCommands",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "ctrl+l",
"command": "-emacs-mcx.recenterTopBottom",
"when": "editorTextFocus"
},
{
"key": "ctrl+enter",
"command": "-editor.action.replaceOne",
"when": "editorFocus && findWidgetVisible"
},
{
"key": "cmd+a",
"command": "editor.action.selectAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+x h",
"command": "-editor.action.selectAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+k",
"command": "-emacs-mcx.killLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "emacs-mcx.killLine"
},
{
"key": "shift+cmd+f",
"command": "workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "shift+cmd+f",
"command": "-workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "ctrl+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "ctrl+1",
"command": "md-shortcut.toggleTitleH1",
"when": "editorLangId == 'markdown'"
},
{
"key": "alt+3",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
{
"key": "cmd+[Slash]",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+[Period]",
"command": "editor.action.inPlaceReplace.down",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+cmd+[Comma]",
"command": "editor.action.inPlaceReplace.up",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+[BracketRight]",
"command": "editor.action.indentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+[BracketLeft]",
"command": "editor.action.outdentLines",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+.",
"command": "editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "alt+cmd+[BracketLeft]",
"command": "editor.fold",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+[BracketRight]",
"command": "editor.unfold",
"when": "editorTextFocus"
},
{
"key": "ctrl+[Backquote]",
"command": "workbench.action.terminal.toggleTerminal"
},
// {
// "key": "alt+[Period]",
// "command": "gitlens.key..",
// "when": "gitlens:key:."
// },
// {
// "key": "alt+[Slash]",
// "command": "gitlens.showCommitSearch",
// "when": "gitlens:enabled"
// },
// {
// "key": "alt+[Period]",
// "command": "gitlens.diffWithNext",
// "when": "editorTextFocus && gitlens:isTracked"
// },
// {
// "key": "shift+alt+[Comma]",
// "command": "gitlens.diffLineWithPrevious",
// "when": "editorTextFocus && gitlens:isTracked"
// },
// {
// "key": "alt+[Comma]",
// "command": "gitlens.diffWithPrevious",
// "when": "editorTextFocus && gitlens:isTracked"
// },
{
"key": "alt+cmd+[BracketLeft]",
"command": "editor.fold",
"when": "editorTextFocus"
},
{
"key": "alt+cmd+[BracketRight]",
"command": "editor.unfold",
"when": "editorTextFocus"
},
{
"key": "shift+alt+cmd+[BracketLeft]",
"command": "editor.foldAll",
"when": "editorTextFocus"
},
{
"key": "shift+alt+cmd+[BracketRight]",
"command": "editor.unfoldAll",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+cmd+a",
"command": "workbench.files.action.showActiveFileInExplorer"
},
{
"key": "cmd+[Comma]",
"command": "workbench.action.openGlobalSettings"
},
{
"key": "shift+cmd+[BracketRight]",
"command": "macros.nextTab"
},
{
"key": "shift+cmd+[BracketLeft]",
"command": "macros.previousTab"
},
{
"key": "cmd+k",
"command": "-workbench.action.terminal.clear",
"when": "terminalFocus"
},
{
"key": "ctrl+[Semicolon]",
"command": "macros.completeSentence",
"when": "editorTextFocus"
},
{
"key": "ctrl+l",
"command": "emacs-mcx.newLine"
},
{
"key": "ctrl+o",
"command": "lineBreakInsert",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+o",
"command": "-lineBreakInsert",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+o",
"command": "lineBreakInsert",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+o",
"command": "-lineBreakInsert",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+n",
"command": "-C_Cpp.Navigate",
"when": "editorTextFocus && editorLangId == 'c'"
},
{
"key": "alt+n",
"command": "-C_Cpp.Navigate",
"when": "editorTextFocus && editorLangId == 'cpp'"
},
{
"key": "ctrl+alt+p",
"command": "-emacs-mcx.addSelectionToPreviousFindMatch",
"when": "editorFocus"
},
{
"key": "cmd+.",
"command": "-editor.action.quickFix",
"when": "editorHasCodeActionsProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+t",
"command": "editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "f2",
"command": "-editor.action.rename",
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+t",
"command": "-editor.action.transposeLetters",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+cmd+n",
"command": "workbench.action.newWindow"
},
{
"key": "shift+cmd+n",
"command": "-workbench.action.newWindow"
},
{
"key": "shift+cmd+n",
"command": "extension.javaGenerateUsingGui"
},
{
"key": "shift+cmd+l",
"command": "workbench.debug.panel.action.clearReplAction"
},
{
"key": "cmd+r",
"command": "workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "ctrl+f5",
"command": "-workbench.action.debug.run",
"when": "!inDebugMode"
},
{
"key": "cmd+u",
"command": "-extension.updateAuthorInfo",
"when": "editorTextFocus"
},
{
"key": "cmd+u",
"command": "extension.generateAuthorInfo"
},
{
"key": "shift+cmd+e",
"command": "workbench.view.explorer"
},
{
"key": "alt+1",
"command": "macros.explorer",
},
{
"key": "alt+2",
"command": "macros.search",
},
{
"key": "alt+5",
"command": "macros.extensions",
},
{
"key": "cmd+r",
"command": "workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "f5",
"command": "-workbench.action.debug.continue",
"when": "inDebugMode"
},
{
"key": "ctrl+shift+l",
"command": "editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+l",
"command": "-editor.action.selectHighlights",
"when": "editorFocus"
},
{
"key": "shift+cmd+\\",
"command": "-editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "cmd+\\",
"command": "macros.split",
},
{
"key": "cmd+\\",
"command": "-workbench.action.splitEditor",
},
{
"key": "ctrl+shift+o",
"command": "outline.focus"
},
{
"key": "alt+tab",
"command": "workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+g",
"command": "-workbench.action.gotoLine"
},
{
"key": "shift+cmd+\\",
"command": "macros.1-editor"
},
{
"key": "alt+cmd+`",
"command": "workbench.action.toggleActivityBarVisibility"
},
{
"key": "shift+alt+`",
"command": "editor.action.toggleMinimap"
},
{
"key": "cmd+.",
"command": "problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "cmd+.",
"command": "-problems.action.showQuickFixes",
"when": "problemFocus"
},
{
"key": "alt+[Period]",
"command": "editor.action.quickFix"
},
{
"key": "ctrl+alt+j",
"command": "macros.deleteWordLeft",
"when": "textInputFocus && !editorReadonly",
},
{
"key": "ctrl+alt+j",
"command": "-code-runner.runByLanguage"
}
]
// Place your settings in this file to overwrite the default settings
{
"editor.fontSize": 13,
"terminal.integrated.fontSize": 13,
"editor.minimap.enabled": false,
"editor.wordWrap": "on",
"editor.cursorStyle": "block",
"terminal.external.osxExec": "iTerm.app",
// python
"python.linting.flake8Enabled": false,
// completion
"editor.quickSuggestions": true,
// "editor.quickSuggestionsDelay": 15,
"clang.diagnostic.delay": 0,
"editor.tabCompletion": true,
"code-runner.executorMap": {
"javascript": "node",
// "java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt -L /usr/local/lib",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python",
"perl": "perl",
"ruby": "ruby",
"go": "go run",
"lua": "lua",
"groovy": "groovy",
"powershell": "powershell -ExecutionPolicy ByPass -File",
"bat": "cmd /c",
"shellscript": "bash",
"fsharp": "fsi",
"csharp": "scriptcs",
"vbscript": "cscript //Nologo",
"typescript": "ts-node",
"coffeescript": "coffee",
"scala": "scala",
"swift": "swift",
"julia": "julia",
"crystal": "crystal",
"ocaml": "ocaml",
"r": "Rscript",
"applescript": "osascript",
"clojure": "lein exec",
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt",
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt",
"racket": "racket",
"ahk": "autohotkey",
"autoit": "autoit3"
},
"code-runner.runInTerminal": true,
"workbench.startupEditor": "newUntitledFile",
"sync.gist": "0db27909e7ffb0bfc2b42bd4a22e19cc",
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"workbench.sideBar.location": "left",
"editor.renderWhitespace": "all",
"editor.renderControlCharacters": true,
"breadcrumbs.enabled": false,
"C_Cpp.clang_format_style": "{BasedOnStyle: Google, IndentWidth: 2}",
"editor.quickSuggestionsDelay": 50,
"vsicons.dontShowNewVersionMessage": true,
"editor.snippetSuggestions": "top",
"editor.tabSize": 2,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"explorer.confirmDragAndDrop": false,
"workbench.statusBar.visible": true,
// zoombar
"zoombar.uiDisplayOrder": "@-%+",
"zoombar.zoomInLabel": "[+]",
"zoombar.zoomOutLabel": "[-]",
"zoombar.zoomUnit": 5,
"zoombar.fontZoomResetLabel": "🤣🤣🤣 $(text-size)",
"window.zoomLevel": 0,
// markdown
"markdown.preview.fontSize": 13,
"markdown.preview.breaks": true,
"markdown.extension.showExplorer": true,
"markdownShortcuts.icons.image": true,
"markdownShortcuts.icons.link": true,
"markdown.preview.doubleClickToSwitchToEditor": false,
"markdownPasteImage.cdnType": "github",
// iconTheme
"workbench.iconTheme": "vscode-icons",
// custom css
"vscode_custom_css.imports": ["file:///Users/chuck/.vscode/custom.css"],
"vscode_custom_css.policy": true,
// background
"background.enabled": true,
"background.useDefault": false,
"background.customImages": [
"/Users/chuck/Desktop/others/dan-1.png",
"/Users/chuck/Desktop/others/dan-2.png",
"/Users/chuck/Desktop/others/dan-3.png"
],
// macros
"macros": {
"previousTab": [
"workbench.action.previousEditor",
],
"nextTab": [
"workbench.action.nextEditor",
],
"formatCode": [
"editor.action.formatDocument",
],
"changeGroup": [
"workbench.action.navigateEditorGroups",
],
"deleteWordLeft": [
"deleteWordLeft",
],
"completeSentence": [
"extension.complete-statement",
],
// view: show
"explorer": [
"workbench.view.explorer",
],
"search": [
"workbench.view.search",
],
"extensions": [
"workbench.view.extensions",
],
"split": [
"workbench.action.splitEditor",
],
"1-editor": [
"workbench.action.editorLayoutSingle",
],
"toggle-sidebar": [
"workbench.action.toggleSidebarVisibility",
],
},
"explorer.confirmDelete": false,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.activityBar.visible": true,
"editor.accessibilitySupport": "off",
// "java"
"java.home": "/Library/Java/JavaVirtualMachines/jdk-11.0.2.jdk/Contents/Home",
// "launch":{
// "configurations": [
// {
// "type": "java",
// "name": "Require Input",
// "request": "launch",
// "mainClass":"${file}",
// "console": "integratedTerminal",
// },
// ],
// },
"debug.internalConsoleOptions": "openOnSessionStart",
"java.errors.incompleteClasspath.severity": "ignore",
// author
"author-generator.author": "JunhaoW",
"author-generator.email": "",
"bracketPairColorizer.showHorizontalScopeLine": false,
"files.associations": {
"*.class": "bat"
},
}
{
/*
// 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"
}
*/
"const": {
"prefix": ["co", "con", "const"],
"body": [
"const ",
],
},
"void": {
"prefix": ["vo", "void"],
"body": [
"void ",
],
},
"print": {
"prefix": ["pri", "print"],
"body": [
"print",
],
},
"return": {
"prefix": ["re", "ret"],
"body": [
"return $0",
],
},
"continue": {
"prefix": ["ct", "cn"],
"body": [
"continue;",
],
},
"break": {
"prefix": ["br"],
"body": [
"break;",
],
},
"index": {
"prefix": ["ind"],
"body": "index",
},
// [] () {} && || ?:
"[]": {
"prefix": ["jj"],
"body": [
"[$0]",
],
},
"()": {
"prefix": ["kk"],
"body": [
"($0)",
],
},
"{\n}": {
"prefix": [";;"],
"body": [
" {",
" $0",
"}"
],
},
"{}": {
"prefix": ["ll"],
"body": "{ $0 }",
},
"&&": {
"prefix": ["uu"],
"body": "&&",
},
"||": {
"prefix": ["ii"],
"body": "||",
},
"?:": {
"prefix": ["?:"],
"body": "($1) ? $2 : $0",
},
"-": {
"prefix": [","],
"body": "-",
},
// ",.": {
// "prefix": [",,"],
// "body": "--",
// },
"_": {
"prefix": ["."],
"body": "_",
},
"main": {
"prefix": "main",
"body": [
"int main() {",
" $0",
" ",
" return 0;",
"}",
],
},
"mainc": {
"prefix": "mainc",
"body": [
"int main(int argc, char **argv) {",
" $0",
" ",
" return 0;",
"}",
],
},
"if": {
"prefix": "if",
"body": [
"if ($0) {",
" ",
"}",
],
},
"else if": {
"prefix": "elif",
"body": [
"else if ($0) {",
" ",
"}",
],
},
"else": {
"prefix": ["el", "else"],
"body": [
"else {",
" $0",
"}",
],
},
"while": {
"prefix": ["wh", "while"],
"body": [
"while ($0) {",
" ",
"}",
],
},
"for": {
"prefix": "for",
"body": [
"for ($1; $2; $0) {",
" ",
"}",
],
},
"#printf": {
"prefix": "pr",
"body": [
"printf(\"${1:%d}\\n\", $0);"
],
},
"#include": {
"prefix": "inc",
"body": [
"#include <$0>",
],
},
"#include2": {
"prefix": "incl",
"body": [
"#include \"$0\"",
],
},
"#define": {
"prefix": "def",
"body": [
"#define ${1:#1} ${0:#2}",
],
},
"/**/": {
"prefix": "//",
"body": [
"/* $0 */",
],
},
"/*n*/": {
"prefix": "///",
"body": [
"/*",
" $0",
" */",
],
},
"0": {
"prefix": "oo",
"body": "0",
},
"%": {
"prefix": "hh",
"body": "%",
},
}
{
/*
// 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"
}
*/
"std": {
"prefix": "std",
"body": "std::",
},
"public": {
"prefix": ["pu", "public"],
"body": [
"public:",
" $0",
],
},
"private": {
"prefix": ["pr", "private"],
"body": [
"private:",
" $0",
],
},
// true & false
// "true": {
// "prefix": ["tr"],
// "body": [
// "true",
// ],
// },
"false": {
"prefix": ["fa"],
"body": [
"false",
],
},
// template
"template": {
"prefix": ["temp"],
"body": [
"template <${1:typename} ${2:T}>",
],
},
"template_short": {
"prefix": ["tmp"],
"body": [
"template <$9>",
],
},
// const, virtual, final, friend, void, override
"const": {
"prefix": ["co", "con", "const"],
"body": [
"const ",
],
},
"virtual": {
"prefix": ["vi", "virtual"],
"body": [
"virtual ",
],
},
"final": {
"prefix": ["fi", "final"],
"body": [
"final",
],
},
"friend": {
"prefix": ["fr", "friend"],
"body": [
"friend ",
],
},
"void": {
"prefix": ["vo", "void"],
"body": [
"void ",
],
},
"override": {
"prefix": ["ov", "override"],
"body": [
"override ",
],
},
"assert": {
"prefix": ["as", "assert"],
"body": "assert($0);",
},
// operator, print, return, continue, break
"operator": {
"prefix": ["op", "operator"],
"body": [
"operator",
],
},
"print": {
"prefix": ["pri", "print"],
"body": [
"print",
],
},
"return": {
"prefix": ["re", "ret"],
"body": [
"return $0",
],
},
"continue": {
"prefix": ["ct", "cn"],
"body": [
"continue;",
],
},
"break": {
"prefix": ["br"],
"body": [
"break;",
],
},
// index
"index": {
"prefix": ["ind"],
"body": "index",
},
// try & catch & throw
"try": {
"prefix": ["try"],
"body": [
"try {",
" $0",
"}",
],
},
"catch": {
"prefix": ["ca", "cat", "catch"],
"body": [
"catch ($0) {",
" ",
"}",
],
},
"throw": {
"prefix": ["th", "thr", "throw"],
"body": ["throw "],
},
// [] () {} && || ?:
"[]": {
"prefix": ["jj"],
"body": [
"[$0]",
],
},
"()": {
"prefix": ["kk"],
"body": [
"($0)",
],
},
"{\n}": {
"prefix": [";;"],
"body": [
" {",
" $0",
"}"
],
},
"{}": {
"prefix": ["ll"],
"body": "{ $0 }",
},
"&&": {
"prefix": ["uu"],
"body": "&&",
},
"||": {
"prefix": ["ii"],
"body": "||",
},
"?:": {
"prefix": ["?:"],
"body": "($1) ? $2 : $0",
},
"-": {
"prefix": [","],
"body": "-",
},
// ",.": {
// "prefix": [",,"],
// "body": "--",
// },
"_": {
"prefix": ["."],
"body": "_",
},
// class
"classp": {
"prefix": ["clsp", "classp"],
"body": [
"class $1 {",
"private:",
" $0"
"public:",
" ",
"};"
],
},
"class": {
"prefix": ["cls", "class"],
"body": [
"class $1 {",
"$0",
"};"
],
},
"enum": {
"prefix": ["enu", "enum"],
"body": [
"enum $1 {",
" $0",
"};"
],
},
// std
"string": {
"prefix": ["str", "string"],
"body": "std::string ",
},
"vector": {
"prefix": ["vec", "vector"],
"body": "std::vector<$0> ",
},
"cout": {
"prefix": "sout",
"body": [
"std::cout << $0 << \"\\n\";"
],
},
"cerr": {
"prefix": "serr",
"body": [
"std::cerr << $0 << \"\\n\";",
],
},
"endl": {
"prefix": "endl",
"body": [
"std::endl",
],
},
"coutn": {
"prefix": "soutn",
"body": [
"std::cout << $0;"
],
},
"coutln": {
"prefix": "soutln",
"body": [
"std::cout << \"\\n\";"
],
},
"cin": {
"prefix": "sin",
"body": [
"std::cin >> $0;"
],
},
"#include": {
"prefix": "inc",
"body": [
"#include <$0>",
],
},
"#include2": {
"prefix": "incl",
"body": [
"#include \"$0\"",
],
},
"#define": {
"prefix": "def",
"body": [
"#define ${1:#1} ${0:#2}",
],
},
"main": {
"prefix": "main",
"body": [
"int main() {",
" $0",
" ",
" return 0;",
"}",
],
},
"mainc": {
"prefix": "mainc",
"body": [
"int main(int argc, char **argv) {",
" $0",
" ",
" return 0;",
"}",
],
},
"if": {
"prefix": "if",
"body": [
"if ($0) {",
" ",
"}",
],
},
"else if": {
"prefix": "elif",
"body": [
"else if ($0) {",
" ",
"}",
],
},
"else": {
"prefix": ["el", "else"],
"body": [
"else {",
" $0",
"}",
],
},
"while": {
"prefix": ["wh", "while"],
"body": [
"while ($0) {",
" ",
"}",
],
},
"for": {
"prefix": "for",
"body": [
"for ($1; $2; $0) {",
" ",
"}",
],
},
"namespace": {
"prefix": "using",
"body": [
"using namespace ${0:std};",
],
},
"/**/": {
"prefix": "//",
"body": [
"/* $0 */",
],
},
"/*n*/": {
"prefix": "///",
"body": [
"/*",
" $0",
" */",
],
},
"0": {
"prefix": "oo",
"body": "0",
},
"%": {
"prefix": "hh",
"body": "%",
},
}
{
"///": {
"prefix": "///",
"body": [
"/* $1 */",
],
},
}
{
// Place your snippets for java 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"
// }
"class": {
"prefix": ["cls"],
"body": [
"${1:public }class ${2:Main} {",
" $0",
"}",
],
},
"instanceof" : {
"prefix": ["inst"],
"body": [
"instanceof ",
],
},
"sout" : {
"prefix": ["sout"],
"body": [
"System.out.println($0);"
],
},
"soutf" : {
"prefix": ["soutf"],
"body": [
"System.out.printf($0);"
],
},
"soutp" : {
"prefix": ["soutp"],
"body": [
"System.out.print($0);"
],
},
"public": {
"prefix": ["pu"],
"body": [
"public ",
],
},
"private": {
"prefix": ["pr"],
"body": [
"private ",
],
},
"protected": {
"prefix": ["pro"],
"body": [
"protected ",
],
},
"abstract": {
"prefix": ["abs"],
"body": [
"abstract ",
],
},
"static": {
"prefix": ["sta"],
"body": [
"static ",
],
},
"implements": {
"prefix": ["impl"],
"body": [
"implements ",
],
},
"import": {
"prefix": ["imp"],
"body": [
"import ",
],
},
"extends": {
"prefix": ["ex", "extends"],
"body": [
"extends ",
],
},
// true & false
"true": {
"prefix": ["tr"],
"body": [
"true",
],
},
"false": {
"prefix": ["fa", "fal"],
"body": [
"false",
],
},
"void": {
"prefix": ["vo", "void"],
"body": [
"void ",
],
},
"return": {
"prefix": ["re", "ret"],
"body": [
"return $0",
],
},
"continue": {
"prefix": ["ct", "cn"],
"body": [
"continue;",
],
},
"break": {
"prefix": ["br"],
"body": [
"break;",
],
},
// index
"index": {
"prefix": ["ind"],
"body": "index",
},
// [] () {} && || ?:
"[]": {
"prefix": ["jj"],
"body": [
"[$0]",
],
},
"()": {
"prefix": ["kk"],
"body": [
"($0)",
],
},
"{\n}": {
"prefix": [";;"],
"body": [
" {",
" $0",
"}"
],
},
"{}": {
"prefix": ["ll"],
"body": "{ $0 }",
},
"&&": {
"prefix": ["uu"],
"body": "&&",
},
"||": {
"prefix": ["ii"],
"body": "||",
},
"?:": {
"prefix": ["?:"],
"body": "($1) ? $2 : $0",
},
// ",.": {
// "prefix": [",,"],
// "body": "--",
// },
// "-": {
// "prefix": [","],
// "body": "-",
// },
// "_": {
// "prefix": ["."],
// "body": "_",
// },
"string": {
"prefix": ["Str"],
"body": "String",
},
"/**/": {
"prefix": "//",
"body": [
"/* $0 */",
],
},
"/*n*/": {
"prefix": "///",
"body": [
"/*",
" $0",
" */",
],
},
"0": {
"prefix": "oo",
"body": "0",
},
"%": {
"prefix": "hh",
"body": "%",
},
// for while if
"if": {
"prefix": "if",
"body": [
"if ($0) {",
" ",
"}",
],
},
"else if": {
"prefix": "elif",
"body": [
"else if ($0) {",
" ",
"}",
],
},
"else": {
"prefix": ["el", "else"],
"body": [
"else {",
" $0",
"}",
],
},
"while": {
"prefix": ["wh", "while"],
"body": [
"while ($0) {",
" ",
"}",
],
},
"for": {
"prefix": "for",
"body": [
"for ($1; $2; $0) {",
" ",
"}",
],
},
}
{
// Place your snippets for markdown 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"
// }
"span": {
"prefix": ["span"],
"body": "<span id=\"$0\">",
},
"$$": {
"prefix": ["$", "¥"],
"body": [
"\\$$0\\$",
],
},
"![]()": {
"prefix": ["!", "!"],
"body": [
"![]($0)",
],
},
// code block
"cpp": {
"prefix": "cpp",
"body": [
"```cpp",
"$0",
"```"
],
},
"c": {
"prefix": "cc",
"body": [
"```c",
"$0",
"```"
],
},
"java": {
"prefix": "java",
"body": [
"```java",
"$0",
"```"
],
},
"python": {
"prefix": "py",
"body": [
"```python",
"$0",
"```"
],
},
"shell": {
"prefix": "sh",
"body": [
"```sh",
"$0",
"```"
],
},
"mipsasm": {
"prefix": "asm",
"body": [
"```mipsasm",
"$0",
"```"
],
},
// from C++
"_": {
"prefix": [".", "。"],
"body": "_",
},
"-": {
"prefix": [",", ","],
"body": "-",
},
"{}": {
"prefix": ["ll"],
"body": "{ $0 }",
},
"&&": {
"prefix": ["uu"],
"body": "&&",
},
"||": {
"prefix": ["ii"],
"body": "||",
},
"[]": {
"prefix": ["jj"],
"body": [
"[$0]",
],
},
"()": {
"prefix": ["kk"],
"body": [
"($0)",
],
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment