Skip to content

Instantly share code, notes, and snippets.

@abhirup-dev
Last active November 6, 2019 19:08
Show Gist options
  • Save abhirup-dev/63b32d4f9be135a3b8f6e1d55d504288 to your computer and use it in GitHub Desktop.
Save abhirup-dev/63b32d4f9be135a3b8f6e1d55d504288 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-11-07T00:38:20.590Z","extensionVersion":"v3.4.3"}
[
{
"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": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.26.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.1.2"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "ms-vscode.Go",
"publisherDisplayName": "ms-vscode"
},
"name": "Go",
"publisher": "ms-vscode",
"version": "0.11.9"
},
{
"metadata": {
"id": "961c6678-1125-43a1-8482-df5a0766d313",
"publisherId": "tomphilbin.gruvbox-themes",
"publisherDisplayName": "tomphilbin"
},
"name": "gruvbox-themes",
"publisher": "tomphilbin",
"version": "1.0.0"
},
{
"metadata": {
"id": "61d03280-3919-4dd1-bce1-178ca21fdeaf",
"publisherId": "James-Yu.latex-workshop",
"publisherDisplayName": "James-Yu"
},
"name": "latex-workshop",
"publisher": "James-Yu",
"version": "8.3.1"
},
{
"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": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2019.10.44104"
},
{
"metadata": {
"id": "3792588c-3d35-442d-91ea-fe6a755e8155",
"publisherId": "mechatroner.rainbow-csv",
"publisherDisplayName": "mechatroner"
},
"name": "rainbow-csv",
"publisher": "mechatroner",
"version": "1.3.1"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.11.3"
}
]
// // Empty
// [
// {
// not needed, just change "Keyboard: Dispatch" to "keyCode"
// "key": "capslock",
// "command": "extension.vim_escape",
// "when": "editorTextFocus && vim.active && !inDebugRepl"
// }
// ]
{
"C_Cpp.default.compilerPath": "/usr/bin/clang++",
"window.zoomLevel": 1,
"git.autofetch": true,
"git.enableSmartCommit": true,
"python.pythonPath": "/usr/bin/python",
"files.autoSave": "off",
"editor.minimap.enabled": false,
"window.titleBarStyle": "custom",
"workbench.statusBar.visible": true,
"php.validate.run": "onType",
"vim.disableExtension": true,
"workbench.startupEditor": "newUntitledFile",
"workbench.iconTheme": "vs-minimal",
"workbench.activityBar.visible": true,
"latex-workshop.view.pdf.viewer": "tab",
"editor.fontLigatures": true,
"editor.fontFamily": "'Fira Code', 'Source Code Pro', 'Droid Sans Mono', 'monospace', monospace, 'Droid Sans Fallback'",
"editor.fontSize": 12,
"terminal.integrated.fontFamily": "'RobotoMono Nerd Font'",
"terminal.integrated.fontSize": 12,
"markdown.preview.fontSize": 12,
"latex-workshop.view.pdf.hand": true,
"workbench.settings.useSplitJSON": true,
"C_Cpp.default.cppStandard": "c++14",
"C_Cpp.default.intelliSenseMode": "clang-x64",
"python.linting.flake8CategorySeverity.F": "Information",
"python.linting.flake8CategorySeverity.W": "Information",
"breadcrumbs.enabled": true,
"terminal.integrated.cursorStyle": "block",
"[python]": {},
"python.linting.mypyEnabled": true,
"python.jediPath": "/usr/lib/python3.7/site-packages",
"python.dataScience.sendSelectionToInteractiveWindow": true,
"editor.formatOnSave": true,
"python.analysis.symbolsHierarchyDepthLimit": 30,
"python.autoComplete.addBrackets": true,
"python.jediMemoryLimit": -1,
"python.linting.flake8Enabled": true,
"python.linting.maxNumberOfProblems": 200,
"python.terminal.activateEnvironment": false,
"python.jediEnabled": false,
"terminal.integrated.rendererType": "auto",
"go.formatTool": "goimports",
"go.useLanguageServer": false,
"[go]": {},
"sync.removeExtensions": false,
"sync.gist": "63b32d4f9be135a3b8f6e1d55d504288",
"vim.leader": " ",
"vim.searchHighlightColor": "green",
"vim.useSystemClipboard": true,
"keyboard.dispatch": "keyCode",
"window.menuBarVisibility": "default",
"vim.highlightedyank.enable": true,
"editor.lineNumbers": "relative",
}
{
// 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:
"Print to console": {
"scope": "cpp",
"prefix": "vecout",
"body": [
"for(auto &i: ${1:vec})",
"\tstd::cout << i << ' ';",
"std::cout << '\\n';$0"
],
"description": "Vector Print"
},
"Print MAP to console": {
"scope": "cpp",
"prefix": "vvecout",
"body": [
"for(auto &${1:i}: ${2:vec})",
"{",
"\tfor(auto &${3:j}: ${1:i})",
"\t\tstd::cout << ${3:j} << ' ';",
"\tstd::cout << '\\n';",
"}\n"
],
"description": "Vector Print"
},
"Author Tag":{
"scope": "cpp, java",
"prefix": "author",
"body": [
"/*",
" * $TM_FILENAME",
" * Created on: $CURRENT_DATE-$CURRENT_MONTH-$CURRENT_YEAR",
" * Author: Abhirup",
"*/\n"
],
"description": "author tag at beginning"
},
"Using list":{
"scope": "cpp",
"prefix": "usingall",
"body":[
"using std::vector;",
"using std::cin;",
"using std::cout;\n"
]
},
"Template":{
"scope": "cpp",
"prefix": "template",
"body":[
"template<typename T>\n"
]
}
}
{
// Place your snippets for go 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"
// }
"Set project root": {
"prefix": "proot",
"body": [
"usr, _ := user.Current()",
"home := usr.HomeDir",
"proot := filepath.Join(home, '$1')",
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment