Skip to content

Instantly share code, notes, and snippets.

@ramsayleung
Last active May 16, 2019 14:10
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 ramsayleung/2e0120a05a9802a5be00de7111703255 to your computer and use it in GitHub Desktop.
Save ramsayleung/2e0120a05a9802a5be00de7111703255 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-05-16T14:10:08.466Z","extensionVersion":"v3.2.9"}
[
{
"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.0.15"
},
{
"metadata": {
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085",
"publisherId": "bungcip.better-toml",
"publisherDisplayName": "bungcip"
},
"name": "better-toml",
"publisher": "bungcip",
"version": "0.3.2"
},
{
"metadata": {
"id": "2be7cf14-2603-402e-9771-fd79df83cdf8",
"publisherId": "twxs.cmake",
"publisherDisplayName": "twxs"
},
"name": "cmake",
"publisher": "twxs",
"version": "0.0.17"
},
{
"metadata": {
"id": "7c889349-8749-43d4-8b5e-08939936d7f4",
"publisherId": "vector-of-bool.cmake-tools",
"publisherDisplayName": "vector-of-bool"
},
"name": "cmake-tools",
"publisher": "vector-of-bool",
"version": "1.1.3"
},
{
"metadata": {
"id": "de611071-4d05-4903-821c-6878df63d4af",
"publisherId": "austin.code-gnu-global",
"publisherDisplayName": "austin"
},
"name": "code-gnu-global",
"publisher": "austin",
"version": "0.2.2"
},
{
"metadata": {
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3",
"publisherId": "formulahendry.code-runner",
"publisherDisplayName": "formulahendry"
},
"name": "code-runner",
"publisher": "formulahendry",
"version": "0.9.9"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.9"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.23.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "9.7.4"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "ms-vscode.Go",
"publisherDisplayName": "ms-vscode"
},
"name": "Go",
"publisher": "ms-vscode",
"version": "0.10.2"
},
{
"metadata": {
"id": "ced3fc99-2817-4ac0-a24a-87abfecbc359",
"publisherId": "ajshort.include-autocomplete",
"publisherDisplayName": "ajshort"
},
"name": "include-autocomplete",
"publisher": "ajshort",
"version": "0.0.4"
},
{
"metadata": {
"id": "c941a679-d500-46a8-b2a9-208063125901",
"publisherId": "wholroyd.jinja",
"publisherDisplayName": "wholroyd"
},
"name": "jinja",
"publisher": "wholroyd",
"version": "0.0.8"
},
{
"metadata": {
"id": "9b6725fb-cfcc-4dd3-bf80-44a4b98c6112",
"publisherId": "donjayamanne.jupyter",
"publisherDisplayName": "donjayamanne"
},
"name": "jupyter",
"publisher": "donjayamanne",
"version": "1.1.5"
},
{
"metadata": {
"id": "1f5eb737-5496-44a3-a8a1-36a85eee4979",
"publisherId": "magicstack.MagicPython",
"publisherDisplayName": "magicstack"
},
"name": "MagicPython",
"publisher": "magicstack",
"version": "1.1.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "2.3.1"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "3.7.0"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.Material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "Material-theme",
"publisher": "zhuangtongfa",
"version": "2.23.0"
},
{
"metadata": {
"id": "c741401b-0d6b-45c0-aafe-8bba63d6388b",
"publisherId": "vscode-org-mode.org-mode",
"publisherDisplayName": "vscode-org-mode"
},
"name": "org-mode",
"publisher": "vscode-org-mode",
"version": "1.0.0"
},
{
"metadata": {
"id": "0d1241e3-fa60-4f24-8f2a-6d7085677c48",
"publisherId": "ionutvmi.path-autocomplete",
"publisherDisplayName": "ionutvmi"
},
"name": "path-autocomplete",
"publisher": "ionutvmi",
"version": "1.13.3"
},
{
"metadata": {
"id": "044b4b31-2969-4af3-895d-855433b8b46d",
"publisherId": "felixfbecker.php-debug",
"publisherDisplayName": "felixfbecker"
},
"name": "php-debug",
"publisher": "felixfbecker",
"version": "1.13.0"
},
{
"metadata": {
"id": "5e69f001-f945-4c97-baf0-320d82a153b3",
"publisherId": "felixfbecker.php-intellisense",
"publisherDisplayName": "felixfbecker"
},
"name": "php-intellisense",
"publisher": "felixfbecker",
"version": "2.3.10"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2019.4.12954"
},
{
"metadata": {
"id": "f5188937-53e0-45bb-a16d-61231003fa3b",
"publisherId": "donjayamanne.python-extension-pack",
"publisherDisplayName": "donjayamanne"
},
"name": "python-extension-pack",
"publisher": "donjayamanne",
"version": "1.4.0"
},
{
"metadata": {
"id": "3792588c-3d35-442d-91ea-fe6a755e8155",
"publisherId": "mechatroner.rainbow-csv",
"publisherDisplayName": "mechatroner"
},
"name": "rainbow-csv",
"publisher": "mechatroner",
"version": "1.0.0"
},
{
"metadata": {
"id": "c807e072-5951-4a01-9542-450f946c7ec1",
"publisherId": "xabikos.ReactSnippets",
"publisherDisplayName": "xabikos"
},
"name": "ReactSnippets",
"publisher": "xabikos",
"version": "2.3.0"
},
{
"metadata": {
"id": "570e6089-b871-41df-9cf4-a723cb34ef01",
"publisherId": "rust-lang.rust",
"publisherDisplayName": "rust-lang"
},
"name": "rust",
"publisher": "rust-lang",
"version": "0.6.1"
},
{
"metadata": {
"id": "0c601642-d429-4a82-b65d-457ec60f7c6d",
"publisherId": "chiragpat.tomorrow-and-tomorrow-night-operator-mono-theme",
"publisherDisplayName": "chiragpat"
},
"name": "tomorrow-and-tomorrow-night-operator-mono-theme",
"publisher": "chiragpat",
"version": "0.0.6"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.8.0"
},
{
"metadata": {
"id": "f8dbe169-d649-4e4b-adb8-ffa113c1d616",
"publisherId": "mitaki28.vscode-clang",
"publisherDisplayName": "mitaki28"
},
"name": "vscode-clang",
"publisher": "mitaki28",
"version": "0.2.3"
},
{
"metadata": {
"id": "103154cb-b81d-4e1b-8281-c5f4fa563d37",
"publisherId": "llvm-vs-code-extensions.vscode-clangd",
"publisherDisplayName": "llvm-vs-code-extensions"
},
"name": "vscode-clangd",
"publisher": "llvm-vs-code-extensions",
"version": "0.0.12"
},
{
"metadata": {
"id": "4b41a5a8-170e-4156-b2c0-10efb270abbc",
"publisherId": "batisteo.vscode-django",
"publisherDisplayName": "batisteo"
},
"name": "vscode-django",
"publisher": "batisteo",
"version": "0.19.0"
},
{
"metadata": {
"id": "8dddff65-1f17-4f35-b6a2-a50d7829da04",
"publisherId": "lfs.vscode-emacs-friendly",
"publisherDisplayName": "lfs"
},
"name": "vscode-emacs-friendly",
"publisher": "lfs",
"version": "0.8.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": "8.6.0"
},
{
"metadata": {
"id": "ffda6552-0ad5-431b-a4fa-0905a7e4f3f0",
"publisherId": "bmewburn.vscode-intelephense-client",
"publisherDisplayName": "bmewburn"
},
"name": "vscode-intelephense-client",
"publisher": "bmewburn",
"version": "1.0.14"
},
{
"metadata": {
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6",
"publisherId": "akamud.vscode-theme-onedark",
"publisherDisplayName": "akamud"
},
"name": "vscode-theme-onedark",
"publisher": "akamud",
"version": "2.1.0"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.4.0"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.1.6"
}
]
// Empty
[
{
"key": "ctrl+d",
"command": "-deleteRight",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+d",
"command": "-deleteRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+cmd+\\",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+f",
"command": "-editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
}
]
{
"editor.fontFamily": "Consolas",
"editor.fontLigatures": true,
"debug.toolBarLocation": "docked",
"editor.fontSize": 14,
"terminal.integrated.fontSize": 14,
"terminal.integrated.fontFamily": "Consolas",
"emmet.triggerExpansionOnTab": true,
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"files.autoSave": "afterDelay",
"python.linting.enabled": false,
"sync.gist": "2e0120a05a9802a5be00de7111703255",
"sync.quietSync": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"workbench.iconTheme": "material-icon-theme",
"editor.tabCompletion": "on",
"workbench.colorTheme": "Atom One Dark",
"vim.handleKeys": {
"<C-a>": false,
"<C-b>": false,
"<C-c>": false,
"<C-e>": false,
"<C-f>": false,
"<C-k>": false,
"<C-g>": false,
"<C-h>": false,
"<C-i>": false,
"<C-m>": false,
"<C-n>": false,
"<C-o>": false,
"<C-p>": false,
"<C-q>": false,
"<C-r>": false,
"<C-s>": false,
"<C-y>": false,
"<w>": false,
"<D-c>": false
},
"files.associations": {
"*.tera": "html"
},
"cmake.configureOnOpen": true,
"code-runner.executorMap": {
"javascript": "node",
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt",
"c": "mkdir -p /tmp/$(basename $workspaceRoot) && cd $dir && gcc $fileName -std=c99 -g -o /tmp/$(basename $workspaceRoot)/$fileNameWithoutExt && /tmp/$(basename $workspaceRoot)/$fileNameWithoutExt",
"cpp": "mkdir -p /tmp/$(basename $workspaceRoot) && cd $dir && g++ $fileName -std=c++17 -g -o /tmp/$(basename $workspaceRoot)/$fileNameWithoutExt && /tmp/$(basename $workspaceRoot)/$fileNameWithoutExt",
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt",
"php": "php",
"python": "python -u",
"perl": "perl",
"perl6": "perl6",
"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",
"dart": "dart",
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt",
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt",
"haskell": "runhaskell",
"nim": "nim compile --verbosity:0 --hints:off --run"
},
"markdown.preview.lineHeight": 1,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
"<C-u>"
],
"after": [
"2",
"0",
"k"
]
},
{
"before": [
"<C-d>"
],
"after": [
"2",
"0",
"j"
]
}
],
"window.titleBarStyle": "custom",
"window.zoomLevel": 0,
"C_Cpp.default.includePath": [
"${workspaceFolder}/**",
"${workspaceFolder}/include",
],
"explorer.confirmDelete": false,
"C_Cpp.clang_format_fallbackStyle": "{ BasedOnStyle: Google, IndentWidth: 4, ColumnLimit: 0}",
"editor.fontWeight": "300",
"python.jediEnabled": false,
"git.autofetch": true,
"clang.cxxflags": [
"-std=c++17",
"-Wall",
"-I${workspaceRoot}/include",
"-I/usr/include/c++/4.2.1",
"-I/usr/local/Cellar/gcc/6.3.0_1/include/c++/6.3.0/"
],
"clang.cflags": [
"-DSTM32F40_41xxx",
"-DHSE_VALUE=8000000",
"-DARM_MATH_CM4",
"-I${env.ARM_NONE_EABI_PATH}/lib/gcc/arm-none-eabi/6.3.1/include",
"-I${env.ARM_NONE_EABI_PATH}/arm-none-eabi/include",
"-I${workspaceRoot}/src",
"-std=gnu99",
"-Wall",
"-fsyntax-only",
"-Wunused-macros",
//"-Weverything",
"-Wno-parentheses"
],
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"editor.minimap.enabled": false,
"go.useLanguageServer": true,
"go.alternateTools": {
"go-langserver": "gopls"
},
"go.languageServerExperimentalFeatures": {
"diagnostics": true // for diagnostics as you type
},
"[go]": {
"editor.snippetSuggestions": "none",
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"python.dataScience.sendSelectionToInteractiveWindow": true,
"C_Cpp.updateChannel": "Insiders",
"http.proxySupport": "off",
"debug.internalConsoleOptions": "openOnSessionStart",
"[cpp]": {
"editor.defaultFormatter": "ms-vscode.cpptools"
},
"debug.console.fontFamily": "Fira Code",
"explorer.confirmDragAndDrop": false,
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. 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:
"include": {
"prefix": "incs",
"scope": "c,cpp",
"body": [
"#include "
],
"description": "Insert Header File"
},
"main":{
"prefix": "main",
"scope": "c,cpp",
"body": [
"int main (${1:int argc, char const *argv[]}) {",
"\t$0",
"\treturn 0;",
"}"
],
"description": "For Loop"
}
}
{
// 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:
/* "include": {
"prefix": "incs",
"body": [
"#include <$1"
],
"description": "Insert Header File"
} */
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment