Skip to content

Instantly share code, notes, and snippets.

@SerhatTeker

SerhatTeker/cloudSettings

Last active Dec 19, 2020
Embed
What would you like to do?
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-12-19T14:28:22.629Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.5"
},
{
"metadata": {
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a",
"publisherId": "HookyQR.beautify",
"publisherDisplayName": "HookyQR"
},
"name": "beautify",
"publisher": "HookyQR",
"version": "1.5.0"
},
{
"metadata": {
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085",
"publisherId": "bungcip.better-toml",
"publisherDisplayName": "bungcip"
},
"name": "better-toml",
"publisher": "bungcip",
"version": "0.3.2"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "12.0.0"
},
{
"metadata": {
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a",
"publisherId": "CoenraadS.bracket-pair-colorizer-2",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer-2",
"publisher": "CoenraadS",
"version": "0.2.0"
},
{
"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": "bce78737-8848-49f7-a27d-97004928fe41",
"publisherId": "hediet.debug-visualizer",
"publisherDisplayName": "hediet"
},
"name": "debug-visualizer",
"publisher": "hediet",
"version": "2.0.6"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.11"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "8edd410a-6a61-4a6e-820f-9be6cb26b1dc",
"publisherId": "trinm1709.dracula-theme-from-intellij",
"publisherDisplayName": "trinm1709"
},
"name": "dracula-theme-from-intellij",
"publisher": "trinm1709",
"version": "0.3.0"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.15.1"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "3.0.0"
},
{
"metadata": {
"id": "b75c12ec-9a82-45e7-aac2-1687e509a76b",
"publisherId": "sidneys1.gitconfig",
"publisherDisplayName": "sidneys1"
},
"name": "gitconfig",
"publisher": "sidneys1",
"version": "2.0.1"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.14"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.3"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "golang.go",
"publisherDisplayName": "golang"
},
"name": "go",
"publisher": "golang",
"version": "0.19.0"
},
{
"metadata": {
"id": "c6d564c4-ca8c-45ba-abf6-c85f2d1468d8",
"publisherId": "jdinhlife.gruvbox",
"publisherDisplayName": "jdinhlife"
},
"name": "gruvbox",
"publisher": "jdinhlife",
"version": "1.4.0"
},
{
"metadata": {
"id": "0ec558c9-f7f7-4df3-b2cf-a41ddcf292dd",
"publisherId": "mkaufman.HTMLHint",
"publisherDisplayName": "mkaufman"
},
"name": "HTMLHint",
"publisher": "mkaufman",
"version": "0.10.0"
},
{
"metadata": {
"id": "c941a679-d500-46a8-b2a9-208063125901",
"publisherId": "wholroyd.jinja",
"publisherDisplayName": "wholroyd"
},
"name": "jinja",
"publisher": "wholroyd",
"version": "0.0.8"
},
{
"metadata": {
"id": "6c2f1801-1e7f-45b2-9b5c-7782f1e076e8",
"publisherId": "ms-toolsai.jupyter",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter",
"publisher": "ms-toolsai",
"version": "2020.11.372831992"
},
{
"metadata": {
"id": "0e22bd0e-8a8d-424d-b5bd-29aaf21800eb",
"publisherId": "budparr.language-hugo-vscode",
"publisherDisplayName": "budparr"
},
"name": "language-hugo-vscode",
"publisher": "budparr",
"version": "1.2.0"
},
{
"metadata": {
"id": "e8b488af-fccf-4adf-b60c-fc7455bea107",
"publisherId": "emilast.LogFileHighlighter",
"publisherDisplayName": "emilast"
},
"name": "LogFileHighlighter",
"publisher": "emilast",
"version": "2.10.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "3.4.0"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "4.4.0"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.9.11"
},
{
"metadata": {
"id": "4bf45e86-a448-4531-8c01-ef33f4536306",
"publisherId": "ms-mssql.mssql",
"publisherDisplayName": "ms-mssql"
},
"name": "mssql",
"publisher": "ms-mssql",
"version": "1.9.0"
},
{
"metadata": {
"id": "e58f546c-babc-455f-a265-ba40dbd140d4",
"publisherId": "sdras.night-owl",
"publisherDisplayName": "sdras"
},
"name": "night-owl",
"publisher": "sdras",
"version": "2.0.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.3.0"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.8.0"
},
{
"metadata": {
"id": "03e014a0-a915-4672-92b3-77e5a6ad72df",
"publisherId": "searKing.preview-vscode",
"publisherDisplayName": "searKing"
},
"name": "preview-vscode",
"publisher": "searKing",
"version": "2.2.5"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2020.11.371526539"
},
{
"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.145.1"
},
{
"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.56.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.56.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.50.1"
},
{
"metadata": {
"id": "9a76007e-6367-44f0-b175-2439b4e81196",
"publisherId": "tht13.rst-vscode",
"publisherDisplayName": "tht13"
},
"name": "rst-vscode",
"publisher": "tht13",
"version": "3.0.1"
},
{
"metadata": {
"id": "e5a47a72-5bb1-4139-8080-9c57b37a7e8a",
"publisherId": "jsaulou.theme-by-language",
"publisherDisplayName": "jsaulou"
},
"name": "theme-by-language",
"publisher": "jsaulou",
"version": "1.1.1"
},
{
"metadata": {
"id": "fb374ce1-5343-46c8-a425-900fdad15523",
"publisherId": "wesbos.theme-cobalt2",
"publisherDisplayName": "wesbos"
},
"name": "theme-cobalt2",
"publisher": "wesbos",
"version": "2.1.6"
},
{
"metadata": {
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1",
"publisherId": "dracula-theme.theme-dracula",
"publisherDisplayName": "dracula-theme"
},
"name": "theme-dracula",
"publisher": "dracula-theme",
"version": "2.22.3"
},
{
"metadata": {
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70",
"publisherId": "Gruntfuggly.todo-tree",
"publisherDisplayName": "Gruntfuggly"
},
"name": "todo-tree",
"publisher": "Gruntfuggly",
"version": "0.0.188"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.17.1"
},
{
"metadata": {
"id": "4b41a5a8-170e-4156-b2c0-10efb270abbc",
"publisherId": "batisteo.vscode-django",
"publisherDisplayName": "batisteo"
},
"name": "vscode-django",
"publisher": "batisteo",
"version": "1.0.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.13"
},
{
"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": "11.0.0"
},
{
"metadata": {
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.13"
},
{
"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": "eaee103c-e866-4b73-87f8-3749cab64da2",
"publisherId": "alexcvzz.vscode-sqlite",
"publisherDisplayName": "alexcvzz"
},
"name": "vscode-sqlite",
"publisher": "alexcvzz",
"version": "0.10.0"
},
{
"metadata": {
"id": "ec2271c0-9d6d-44c5-93e5-7e8cda744f21",
"publisherId": "rokoroku.vscode-theme-darcula",
"publisherDisplayName": "rokoroku"
},
"name": "vscode-theme-darcula",
"publisher": "rokoroku",
"version": "1.2.3"
},
{
"metadata": {
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9",
"publisherId": "wayou.vscode-todo-highlight",
"publisherDisplayName": "wayou"
},
"name": "vscode-todo-highlight",
"publisher": "wayou",
"version": "1.0.4"
}
]
// Place your key bindings in this file to overwrite the defaultsauto[]
[
{
"key": "shift+alt+down",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+b",
"command": "workbench.debug.action.toggleRepl"
},
{
"key": "ctrl+shift+y",
"command": "-workbench.debug.action.toggleRepl"
},
{
"key": "ctrl+[Backslash]",
"command": "workbench.action.terminal.new"
},
{
"key": "ctrl+escape",
"command": "workbench.action.terminal.toggleTerminal"
},
{
"key": "shift+alt+up",
"command": "editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+alt+up",
"command": "-editor.action.copyLinesUpAction",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+c",
"command": "editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+c",
"command": "-editor.action.addCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+u",
"command": "-editor.action.removeCommentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+f10",
"command": "python.execInTerminal"
},
{
"key": "alt+enter",
"command": "importMagic.resolveImport"
},
{
"key": "ctrl+k ctrl+8",
"command": "-editor.foldAllMarkerRegions",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+g",
"command": "editor.unfoldAllMarkerRegions",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+9",
"command": "-editor.unfoldAllMarkerRegions",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+d",
"command": "deleteAllRight"
},
{
"key": "alt+t",
"command": "workbench.action.toggleMaximizedPanel"
},
{
"key": "ctrl+alt+pagedown",
"command": "workbench.action.terminal.focusPrevious"
},
{
"key": "ctrl+alt+pageup",
"command": "workbench.action.terminal.focusNext"
},
{
"key": "ctrl+alt+c",
"command": "bookmarks.clear"
},
{
"key": "ctrl+shift+alt+s",
"command": "workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+5",
"command": "-workbench.action.terminal.split",
"when": "terminalFocus"
},
{
"key": "ctrl+alt+s",
"command": "workbench.action.splitEditor"
},
// Open file in folder tree
// {
// "key": ", v",
// "command": "workbench.files.action.showActiveFileInExplorer"
// },
{
"key": "alt+[Backquote]",
"command": "workbench.files.action.collapseExplorerFolders"
},
{
"key": "ctrl+numpad_subtract",
"command": "editor.foldRecursively"
},
{
"key": "ctrl+numpad_add",
"command": "editor.unfoldRecursively"
},
{
"key": "ctrl+k f",
"command": "-workbench.action.closeFolder"
},
{
"key": "ctrl+k ctrl+f",
"command": "-editor.action.formatSelection",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+shift+c",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+shift+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+alt+f",
"command": "editor.foldAllBlockComments",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+shift+7",
"command": "-editor.foldAllBlockComments",
"when": "editorTextFocus"
},
// incremental select
{
"key": "ctrl+k ctrl+up",
"command": "editor.action.smartSelect.grow",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+up",
"command": "editor.emmet.action.balanceOut",
"when": "editorTextFocus && editorLangId == html && editorHasSelection"
},
{
"key": "ctrl+k ctrl+down",
"command": "editor.action.smartSelect.shrink",
"when": "editorTextFocus"
},
{
"key": "ctrl+k ctrl+down",
"command": "editor.emmet.action.balanceIn",
"when": "editorTextFocus && editorLangId == html"
},
// vim <capslock> <esc>
{
"key": "capslock",
"command": "extension.vim_escape",
"when": "editorTextFocus && vim.active && !inDebugRepl"
},
// close editor tab. alternative because of vim
{
"key": "ctrl+k ctrl+w",
"command": "workbench.action.closeActiveEditor"
},
{
"key": "ctrl+t",
"command": "workbench.view.explorer"
},
{
"key": "ctrl+k ctrl+shift+f",
"command": "workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "ctrl+k ctrl+t",
"command": "workbench.action.showAllSymbols"
},
{
"key": "ctrl+k ctrl+t",
"command": "extension.vim_ctrl+t",
"when": "editorTextFocus && vim.active && vim.use<C-t> && !inDebugRepl"
},
// File Explorer Open&CLose
{
"key": "ctrl+t",
"command": "workbench.action.toggleSidebarVisibility",
"when": "explorerViewletVisible",
},
// if FileExplorer open close
{
"key": "ctrl+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
// unbinded kehybindings
{
"key": "ctrl+t",
"command": "-workbench.action.showAllSymbols"
},
{
"key": "ctrl+shift+e",
"command": "-workbench.view.explorer"
},
{
"key": "ctrl+shift+f",
"command": "-workbench.view.search",
"when": "!searchViewletVisible"
},
{
"key": "ctrl+t",
"command": "-extension.vim_ctrl+t",
"when": "editorTextFocus && vim.active && vim.use<C-t> && !inDebugRepl"
},
{
"key": "ctrl+k w",
"command": "-workbench.action.closeEditorsInGroup"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeGroup",
"when": "activeEditorGroupEmpty && multipleEditorGroups"
},
{
"key": "ctrl+w",
"command": "-workbench.action.closeWindow",
"when": "!editorIsOpen && !multipleEditorGroups"
},
{
"key": "ctrl+k ctrl+w",
"command": "-workbench.action.closeAllEditors"
},
{
"key": "ctrl+k ctrl+f",
"command": "-editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasDocumentSelectionFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+k ctrl+f",
"command": "actions.find"
},
{
"key": "ctrl+f",
"command": "-actions.find"
},
{
"key": "ctrl+k ctrl+shift+g",
"command": "workbench.view.scm"
},
{
"key": "ctrl+shift+g",
"command": "-workbench.view.scm"
},
{
"key": "ctrl+shift+y",
"command": "workbench.action.tasks.build"
},
{
"key": "ctrl+shift+b",
"command": "-workbench.action.tasks.build"
},
// select suggestions with tab like in Vim
{
"key": "tab",
"command": "-acceptSelectedSuggestion"
},
{
"key": "tab",
"command": "selectNextSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
{
"key": "shift+tab",
"command": "selectPrevSuggestion",
"when": "editorTextFocus && suggestWidgetMultipleSuggestions && suggestWidgetVisible"
},
// Navigate Splits/Panes
{
"key": "ctrl+h",
"command": "workbench.action.navigateLeft"
},
{
"key": "ctrl+l",
"command": "workbench.action.navigateRight"
},
{
"key": "ctrl+k",
"command": "workbench.action.navigateUp"
},
{
"key": "ctrl+j",
"command": "workbench.action.navigateDown"
},
// Navigate buffers
{
"key": "ctrl+m",
"command": "workbench.action.previousEditor"
},
{
"key": "ctrl+n",
"command": "workbench.action.nextEditor"
},
// closing editor: conlicts with vim
{
"key": "ctrl+w",
"command": "-workbench.action.closeActiveEditor"
},
{
"key": "ctrl+`",
"command": "-workbench.action.terminal.toggleTerminal"
},
]
{
/////////////////////////////////////////////////////
// WINDOWS
/////////////////////////////////////////////////////
"window.zoomLevel": -1,
"window.menuBarVisibility": "toggle",
"window.newWindowDimensions": "fullscreen",
"window.restoreFullscreen": true,
"window.restoreWindows": "all",
"explorer.openEditors.visible": 0,
"explorer.autoReveal": false,
// no need for confirmation since we always use version control
"explorer.confirmDelete": false,
"explorer.confirmDragAndDrop": false,
// depreciated
// "workbench.statusBar.feedback.visible": false,
// Zenmode
"zenMode.hideLineNumbers": false,
"zenMode.centerLayout": false,
"zenMode.fullScreen": true,
// OTHER
"breadcrumbs.enabled": true,
/////////////////////////////////////////////////////
// TERMINAL
/////////////////////////////////////////////////////
// Unix os shell
"terminal.integrated.shell.linux": "/usr/bin/zsh",
// "terminal.integrated.shell.linux": "/bin/bash",
"terminal.integrated.fontFamily": "Meslo LG M DZ for Powerline",
"terminal.integrated.fontSize": 13,
"workbench.iconTheme": "material-icon-theme",
// One Dark Theme custom
/////////////////////////////////////////////////////
"workbench.colorCustomizations": {
"editorCursor.foreground": "#ffc600",
"terminalCursor.foreground": "#ffc600",
"[One Dark Pro]": {
"tab.activeBackground": "#1b1b1b",
"editor.background": "#1b1b1b",
"activityBar.background": "#1b1b1b",
"sideBarSectionHeader.background": "#1b1b1b"
},
// "statusBar.background": "#98c379",
// "statusBar.noFolderBackground": "#98c379",
// "statusBar.debuggingBackground": "#98c379",
// "statusBar.foreground": "#1b1b1b"
},
// theme by language
/////////////////////////////////////////////////////
"theme-by-language.themes": {
"python": "One Dark Pro",
"go": "Monokai",
"csharp": "One Dark Pro",
"html": "Dracula",
"scss": "Dracula",
"css": "Dracula",
"django-html": "Dracula",
"toml": "One Dark Pro",
"yaml": "One Dark Pro",
"xml": "One Dark Pro",
"javascript": "Gruvbox Dark Hard",
"json": "Gruvbox Dark Hard",
"jsonc": "Gruvbox Dark Hard",
},
/////////////////////////////////////////////////////
// EDITOR
/////////////////////////////////////////////////////
// Action onSave
/////////////////////////////////////////////////////
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
// font options
/////////////////////////////////////////////////////
"editor.fontFamily": "DejaVu Sans Mono, Inconsolata, Operator Mono Book, Fira Code, Menlo, monospace, 'Courier New'",
"editor.fontLigatures": false,
// "editor.fontFamily": "Menlo, Consolas, DejaVu Sans Mono, monospace",
"editor.fontSize": 13.5,
"editor.cursorStyle": "block",
// The number of spaces a tab is equal to. This setting is overridden
// based on the file contents when `editor.detectIndentation` is true.
"editor.tabSize": 4,
"editor.detectIndentation": true,
"editor.lineNumbers": "relative",
// Completion
/////////////////////////////////////////////////////
"editor.tabCompletion": "off",
"editor.acceptSuggestionOnEnter": "on",
// White spaces
/////////////////////////////////////////////////////
"editor.renderWhitespace": "none",
"files.trimTrailingWhitespace": true,
"diffEditor.ignoreTrimWhitespace": true,
// end of file
"editor.renderFinalNewline": false,
"files.insertFinalNewline": true,
"files.trimFinalNewlines": true,
// Other
"editor.minimap.enabled": false,
"editor.renderControlCharacters": false,
// log file rendering
"editor.tokenColorCustomizations": {
"textMateRules": [
// log hihglight
{
"scope": "log.error",
"settings": {
"foreground": "#af1f1f",
"fontStyle": "bold"
}
},
{
"scope": "log.warning",
"settings": {
"foreground": "#f4ad42",
"fontStyle": ""
}
},
{
"scope": "log.debug",
"settings": {
"foreground": "#58467a",
"fontStyle": ""
}
},
{
"scope": "log.info",
"settings": {
"foreground": "#7af442",
"fontStyle": ""
}
}
]
},
// FILES
/////////////////////////////////////////////////////
"files.hotExit": "onExitAndWindowClose",
// "files.autoSave": "onFocusChange",
// Filetypes unique
/////////////////////////////////////////////////////
"[python]": {
"editor.formatOnSave": false,
"editor.defaultFormatter": "ms-python.python",
},
"[javascript]": {
"editor.fontFamily": "Operator Mono Book, Fira Code, Inconsolata, DejaVu Sans Mono, Menlo, 'Courier New'",
"editor.fontSize": 14.5,
// "editor.renderWhitespace": "all",
// turn it off for JS, JSX and HTML, we will do this via eslint
"editor.formatOnSave": false,
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode",
},
"[javascriptreact]": {
"editor.fontFamily": "Operator Mono Book, Fira Code, Inconsolata, DejaVu Sans Mono, Menlo, 'Courier New'",
"editor.fontSize": 14.5,
// "editor.renderWhitespace": "all",
// turn it off for JS, JSX and HTML, we will do this via eslint
"editor.formatOnSave": false,
"editor.tabSize": 2,
},
"[html]": {
// "editor.formatOnSave": false,
// "editor.renderWhitespace": "all",
"editor.tabSize": 2,
"editor.fontFamily": "Operator Mono Book, Fira Code, Inconsolata, DejaVu Sans Mono, Menlo, 'Courier New'",
"editor.fontSize": 14.5,
"editor.defaultFormatter": "vscode.html-language-features",
// "editor.defaultFormatter": "vscode.html-language-features"
},
"[django-html]": {
// "editor.formatOnSave": false,
// "editor.renderWhitespace": "all",
"editor.tabSize": 2,
"editor.fontFamily": "Operator Mono Book, Fira Code, Inconsolata, DejaVu Sans Mono, Menlo, 'Courier New'",
"editor.fontSize": 14.5,
"editor.defaultFormatter": "vscode.html-language-features"
},
"[markdown]": {
"files.trimTrailingWhitespace": false,
"editor.defaultFormatter": "yzhang.markdown-all-in-one",
},
"[json]": {
"editor.fontFamily": "Operator Mono Book, Fira Code, Inconsolata, DejaVu Sans Mono, Menlo, 'Courier New'",
"editor.fontSize": 14.5,
"editor.renderWhitespace": "none",
// "editor.formatOnSave": false,
"editor.tabSize": 2,
},
"[jsonc]": {
"editor.fontFamily": "Operator Mono Book, Fira Code, Inconsolata, DejaVu Sans Mono, Menlo, 'Courier New'",
"editor.fontSize": 14.5,
"editor.renderWhitespace": "none",
// "editor.formatOnSave": false,
"editor.tabSize": 2,
"editor.defaultFormatter": "vscode.json-language-features",
},
// Associatons
/////////////////////////////////////////////////////
"files.associations": {
// TODO FIX
// django
"**/templates/*.html": "django-html",
"**/templates/*": "django-txt",
"**/requirements{/**,*}.{txt,in}": "pip-requirements",
},
// Emmet
/////////////////////////////////////////////////////
"emmet.includeLanguages": {
"django-html": "html"
},
// Exclude
/////////////////////////////////////////////////////
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/*.pyc": true,
"**/__pycache__": true
},
// EXTENSIONS
/////////////////////////////////////////////////////
// global
// auto update and check-update disabled due to performance
"extensions.autoUpdate": false,
"extensions.autoCheckUpdates": false,
// bracket paor colorizer
"bracket-pair-colorizer-2.excludedLanguages": [
"python",
],
// VIM
/////////////////////////////////////////////////////
// global setttings
"vim.useSystemClipboard": true,
"vim.useCtrlKeys": true,
"vim.hlsearch": true,
"vim.incsearch": true,
"vim.visualstar": true,
"vim.highlightedyank.enable": false,
// https://github.com/VSCodeVim/Vim#vim-airline
// There is performance issue
"vim.statusBarColorControl": false,
// vim-surround
"vim.surround": true,
// vim camelCaseMotion
"vim.camelCaseMotion.enable": true,
// NeoVim
"vim.enableNeovim": true,
"vim.neovimPath": "/usr/bin/nvim",
// vim keybindings
"vim.leader": ",", // or "<space>"
"vim.insertModeKeyBindings": [
// alternate <Esc>
{
"before": [
"k",
"j"
],
"after": [
"<Esc>"
]
},
{
"before": [
"j",
"k"
],
"after": [
"<Esc>"
]
}
],
"vim.normalModeKeyBindingsNonRecursive": [
// visual movings
{
"before": [
"j"
],
"after": [
"g",
"j"
]
},
{
"before": [
"k"
],
"after": [
"g",
"k"
]
},
// act like D or C
{
"before": [
"Y"
],
"after": [
"y",
"$"
]
},
// one less keystroke
{
"before": [
";"
],
"after": [
":"
]
},
// disable hihglight
{
"before": [
"<Esc>"
],
"commands": [
":nohl"
]
}
],
"vim.handleKeys": {
// disable close window
// "<C-w>": true,
},
"vim.visualModeKeyBindingsNonRecursive": [
// Bind > and < in visual mode to indent/outdent lines (repeatable)
{
"before": [
">"
],
"commands": [
"editor.action.indentLines"
]
},
{
"before": [
"<"
],
"commands": [
"editor.action.outdentLines"
]
},
],
// vim-airline
/////////////////////////////////////////////////////
// disabled due to heavy performance issue
// "vim.statusBarColorControl": true,
// "vim.statusBarColors.normal": ["#98c379","#1b1b1b"],
// "vim.statusBarColors.insert": ["#61afef","#1b1b1b"],
// "vim.statusBarColors.visual": ["#800080","#1b1b1b"],
// "vim.statusBarColors.visualline": ["#800080","#1b1b1b"],
// "vim.statusBarColors.visualblock": ["#800080","#1b1b1b"],
// "vim.statusBarColors.replace": ["#c678dd", "#1b1b1b"],
// Sync
"sync.gist": "7a7deb63f7836ac659bc19e07e974e7f",
"workbench.sideBar.location": "left",
// Indent Rainbow
/////////////////////////////////////////////////////
// "indentRainbow.includedLanguages": [
// "html",
// "django-html",
// ],
// Live Server
/////////////////////////////////////////////////////
// "liveServer.settings.port": 5500,
// "liveServer.settings.CustomBrowser" : "chrome",
// "liveServer.settings.AdvanceCustomBrowserCmdLine": "chrome --remote-debugging-port=9222",
// "liveServer.settings.NoBrowser" : false,
// "liveServer.settings.ignoreFiles" : [
// ".vscode/**",
// "**/*.scss",
// "**/*.sass"
// ],
// TODO Tree
/////////////////////////////////////////////////////
// "todo-tree.tags": [
// "TODO",
// "FIXME",
// "BUG"
// ],
// "todo-tree.excludedWorkspaces": [
// "**/vendors/*",
// ],
// "todo-tree.customHighlight": {
// "TODO": {
// "icon": "pin",
// "iconColour": "#FF7F50",
// "type": "line",
// },
// "FIXME": {
// "icon": "alert",
// "foreground": "yellow",
// "iconColour": "yellow"
// },
// "BUG": {
// "icon": "bug",
// "foreground": "red",
// "iconColour": "red"
// },
// },
/////////////////////////////////////////////////////
// TESTING
/////////////////////////////////////////////////////
// Python
/////////////////////////////////////////////////////
// Not testing in IDEK
// testing in tmux shell
"python.testing.pytestEnabled": false,
"python.testing.autoTestDiscoverOnSaveEnabled": false,
/////////////////////////////////////////////////////
// FORMATTING AND LINTING
/////////////////////////////////////////////////////
"editor.formatOnSave": true,
// Python
/////////////////////////////////////////////////////
"python.linting.enabled": true,
"python.linting.lintOnSave": true,
"python.linting.flake8Enabled": true,
//// global path
"python.linting.flake8Path": "~/.local/bin/flake8",
// html
/////////////////////////////////////////////////////
"html.format.enable": true,
"html.format.extraLiners": "head, body, /html",
"html.format.indentInnerHtml": true,
// Eslint
/////////////////////////////////////////////////////
//// These are all my auto-save configs
//// tell the ESLint plugin to run on save
"eslint.validate": [
"javascript",
"javascriptreact",
"html",
"django-html",
// "typescript",
// "typescriptreact",
],
"workbench.colorTheme": "Dracula",
"todo-tree.highlights.enabled": true,
"python.showStartPage": false,
"remote.SSH.configFile": "/home/serhat/virtualboxes/ubuntu-bionic-1804/config",
"update.mode": "manual",
"todo-tree.tree.showScanModeButton": false,
"[scss]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[css]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
}
// Prettier
/////////////////////////////////////////////////////
//// Optional BUT IMPORTANT: If you have the prettier extension enabled for
//// other languages like CSS and HTML, turn it off for JS since we are doing it
//// through Eslint already
// "prettier.disableLanguages": ["javascript", "javascriptreact"],
}
{
// Place your snippets for html 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"
// }
"jtag": {
"prefix": "jtag",
"body": [
"{{ ${1:info} }}",
],
"description": "Jinja Tag for e.g. forms"
},
"jload": {
"prefix": "jload",
"body": [
"{{% ${1:load} %}}",
],
"description": "Jinja Tag for loads"
},
"jurl": {
"prefix": "jurl",
"body": [
"{% url ${1:url} %}",
],
"description": "Jinja Tag for loads"
},
}
{
// Place your snippets for javascript 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"
// }
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
}
{
"Code Higlight": {
"prefix": "bash",
"body": [
"```bash",
"\\$ ${1:code}",
"```",
"$2"
],
"description": "bash script"
}
}
{
// Place your snippets for python 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"
// }
"print_info": {
"prefix": "_print",
"body": [
"print(${1:info}, ':' , ${2:detail})",
"$0",
],
"description": "Print info and detail"
},
"print_info_json": {
"prefix": "_print_json",
"body": [
"print(${1:info}, ':' ,{json.dumps(${2:detail}, indent=2)})",
"$0",
],
"description": "Print info and detail in indented json format"
},
"debug_info": {
"prefix": "_debug",
"body": [
"logger.debug(f'${1:info} : {${2:detail}}')",
"$0",
],
"description": "Log info and detail"
},
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment