Skip to content

Instantly share code, notes, and snippets.

@tnhoang
Last active August 30, 2021 13:24
Show Gist options
  • Select an option

  • Save tnhoang/5f499582a0cdb52182a724f2bdcdf00c to your computer and use it in GitHub Desktop.

Select an option

Save tnhoang/5f499582a0cdb52182a724f2bdcdf00c to your computer and use it in GitHub Desktop.
Store personal VSCode settings
{"lastUpload":"2021-08-30T13:24:51.073Z","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.8"
},
{
"metadata": {
"id": "2d6fea35-f68e-461d-9b7b-5cd05be99451",
"publisherId": "njpwerner.autodocstring",
"publisherDisplayName": "njpwerner"
},
"name": "autodocstring",
"publisher": "njpwerner",
"version": "0.5.4"
},
{
"metadata": {
"id": "70378119-1d85-4935-9733-0298c7a369a2",
"publisherId": "steoates.autoimport",
"publisherDisplayName": "steoates"
},
"name": "autoimport",
"publisher": "steoates",
"version": "1.5.4"
},
{
"metadata": {
"id": "7a0110bb-231a-4598-aa1b-0769ea46d28b",
"publisherId": "aaron-bond.better-comments",
"publisherDisplayName": "aaron-bond"
},
"name": "better-comments",
"publisher": "aaron-bond",
"version": "2.1.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": "13.1.0"
},
{
"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": "2aa040bf-c73a-455d-8946-5c6cc83b8019",
"publisherId": "wmaurer.change-case",
"publisherDisplayName": "wmaurer"
},
"name": "change-case",
"publisher": "wmaurer",
"version": "1.0.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": "121396ad-85a1-45ec-9fd1-d95028a847f5",
"publisherId": "naumovs.color-highlight",
"publisherDisplayName": "naumovs"
},
"name": "color-highlight",
"publisher": "naumovs",
"version": "2.4.0"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "3.1.1"
},
{
"metadata": {
"id": "438221f8-1107-4ccd-a6fe-f3b7fe0856b7",
"publisherId": "mhutchie.git-graph",
"publisherDisplayName": "mhutchie"
},
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.30.0"
},
{
"metadata": {
"id": "7328a705-91fc-49e6-8293-da6f112e482d",
"publisherId": "GitHub.github-vscode-theme",
"publisherDisplayName": "GitHub"
},
"name": "github-vscode-theme",
"publisher": "GitHub",
"version": "4.1.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.6.0"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "golang.go",
"publisherDisplayName": "golang"
},
"name": "go",
"publisher": "golang",
"version": "0.27.1"
},
{
"metadata": {
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f",
"publisherId": "xabikos.JavaScriptSnippets",
"publisherDisplayName": "xabikos"
},
"name": "JavaScriptSnippets",
"publisher": "xabikos",
"version": "1.8.0"
},
{
"metadata": {
"id": "6c2f1801-1e7f-45b2-9b5c-7782f1e076e8",
"publisherId": "ms-toolsai.jupyter",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter",
"publisher": "ms-toolsai",
"version": "2021.8.1236758218"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"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": "3.4.0"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.11.4"
},
{
"metadata": {
"id": "ef2a5b38-02c4-4193-8561-1f072c209474",
"publisherId": "silvenon.mdx",
"publisherDisplayName": "silvenon"
},
"name": "mdx",
"publisher": "silvenon",
"version": "0.1.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.4.0"
},
{
"metadata": {
"id": "d95cb424-7a5a-4e08-9698-107d6fd590cf",
"publisherId": "jebbs.plantuml",
"publisherDisplayName": "jebbs"
},
"name": "plantuml",
"publisher": "jebbs",
"version": "2.15.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "8.1.0"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2021.8.1159798656"
},
{
"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.191.1"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.24.5"
},
{
"metadata": {
"id": "ae062c8a-c68e-4b92-9ecf-8f1d4288b05d",
"publisherId": "rebornix.ruby",
"publisherDisplayName": "rebornix"
},
"name": "ruby",
"publisher": "rebornix",
"version": "0.28.1"
},
{
"metadata": {
"id": "a84825e8-5f04-4988-b85a-4942e795bcbe",
"publisherId": "burkeholland.simple-react-snippets",
"publisherDisplayName": "burkeholland"
},
"name": "simple-react-snippets",
"publisher": "burkeholland",
"version": "1.2.3"
},
{
"metadata": {
"id": "1e0f6104-ad31-4640-9fb7-6d7ac7edb90d",
"publisherId": "jonkwheeler.styled-components-snippets",
"publisherDisplayName": "jonkwheeler"
},
"name": "styled-components-snippets",
"publisher": "jonkwheeler",
"version": "0.10.0"
},
{
"metadata": {
"id": "47210ec2-0324-4cbb-9523-9dff02a5f9ec",
"publisherId": "ms-vscode.test-adapter-converter",
"publisherDisplayName": "ms-vscode"
},
"name": "test-adapter-converter",
"publisher": "ms-vscode",
"version": "0.1.2"
},
{
"metadata": {
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70",
"publisherId": "Gruntfuggly.todo-tree",
"publisherDisplayName": "Gruntfuggly"
},
"name": "todo-tree",
"publisher": "Gruntfuggly",
"version": "0.0.213"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.21.6"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "1.16.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.23"
},
{
"metadata": {
"id": "66682185-9f80-4b70-8b8c-9e492935c105",
"publisherId": "LeetCode.vscode-leetcode",
"publisherDisplayName": "LeetCode"
},
"name": "vscode-leetcode",
"publisher": "LeetCode",
"version": "0.18.0"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.43.2"
},
{
"metadata": {
"id": "2d6939dc-9776-4c55-bdbe-6af17c602141",
"publisherId": "xyc.vscode-mdx-preview",
"publisherDisplayName": "xyc"
},
"name": "vscode-mdx-preview",
"publisher": "xyc",
"version": "0.3.0"
},
{
"metadata": {
"id": "364d2426-116a-433a-a5d8-a5098dc3afbd",
"publisherId": "ms-python.vscode-pylance",
"publisherDisplayName": "ms-python"
},
"name": "vscode-pylance",
"publisher": "ms-python",
"version": "2021.8.3"
},
{
"metadata": {
"id": "708cfcd8-e0c6-49ca-9af6-b27a342d247b",
"publisherId": "wingrunr21.vscode-ruby",
"publisherDisplayName": "wingrunr21"
},
"name": "vscode-ruby",
"publisher": "wingrunr21",
"version": "0.28.0"
},
{
"metadata": {
"id": "06cc3e44-aedb-41b8-a4ea-29ebf3c491fd",
"publisherId": "jpoissonnier.vscode-styled-components",
"publisherDisplayName": "jpoissonnier"
},
"name": "vscode-styled-components",
"publisher": "jpoissonnier",
"version": "1.6.6"
},
{
"metadata": {
"id": "4db62a7c-7d70-419c-96d2-6c3a4dc77ea5",
"publisherId": "bradlc.vscode-tailwindcss",
"publisherDisplayName": "bradlc"
},
"name": "vscode-tailwindcss",
"publisher": "bradlc",
"version": "0.6.14"
},
{
"metadata": {
"id": "ff96f1b4-a4b8-45ef-8ecf-c232c0cb75c8",
"publisherId": "hbenl.vscode-test-explorer",
"publisherDisplayName": "hbenl"
},
"name": "vscode-test-explorer",
"publisher": "hbenl",
"version": "2.21.1"
},
{
"metadata": {
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6",
"publisherId": "akamud.vscode-theme-onedark",
"publisherDisplayName": "akamud"
},
"name": "vscode-theme-onedark",
"publisher": "akamud",
"version": "2.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"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.22.0"
}
]
{"attempts":1,"previous":{"extension":"1.29.0","vscode":"1.53.2"},"current":{"extension":"1.30.0","vscode":"1.55.0"},"apiAvailable":true,"queue":[]}
["/Users/tnhoang/env/share/jupyter/kernels/python3/kernel.json"]
// Place your key bindings in this file to override the defaults
[
{
"key": "cmd+s",
"command": "macros.saveAndExitVimInsertMode"
},
{
"key": "cmd+1",
"command": "workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+2",
"command": "workbench.action.openEditorAtIndex2"
},
{
"key": "cmd+3",
"command": "workbench.action.openEditorAtIndex3"
},
{
"key": "cmd+4",
"command": "workbench.action.openEditorAtIndex4"
},
{
"key": "ctrl+tab",
"command": "workbench.action.nextEditorInGroup"
},
{
"key": "ctrl+shift+tab",
"command": "workbench.action.previousEditorInGroup"
},
{
"key": "ctrl+j",
"command": "cursorLineStart",
"when": "textInputFocus"
},
{
"key": "ctrl+a",
"command": "-cursorLineStart",
"when": "textInputFocus"
},
{
"key": "cmd+h",
"command": "workbench.action.focusLeftGroup"
},
{
"key": "ctrl+cmd+left",
"command": "-workbench.action.moveEditorToPreviousGroup"
},
{
"key": "ctrl+cmd+right",
"command": "-workbench.action.moveEditorToNextGroup"
},
{
"key": "ctrl+cmd+left",
"command": "workbench.action.moveEditorToFirstGroup"
},
{
"key": "cmd+0",
"command": "-workbench.action.moveEditorToFirstGroup"
},
{
"key": "ctrl+cmd+right",
"command": "workbench.action.moveEditorToLastGroup"
},
{
"key": "ctrl+cmd+9",
"command": "-workbench.action.moveEditorToLastGroup"
},
{
"key": "shift+alt+cmd+-",
"command": "workbench.action.maximizeEditor"
},
{
"key": "ctrl+i",
"command": "workbench.action.toggleEditorWidths"
},
{
"key": "cmd+l",
"command": "workbench.action.focusRightGroup"
},
{
"key": "shift+cmd+h",
"command": "workbench.action.moveActiveEditorGroupLeft"
},
{
"key": "shift+cmd+l",
"command": "workbench.action.moveActiveEditorGroupRight"
},
{
"key": "alt+v",
"command": "toggleVim"
},
// Toggle focus terminal and editor
{
"key": "f1",
"command": "workbench.action.focusActiveEditorGroup",
"when": "terminalFocus"
},
{
"key": "f1",
"command": "workbench.action.terminal.focusNext",
"when": "!terminalFocus"
},
{
"key": "cmd+g",
"command": "editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "f12",
"command": "-editor.action.revealDefinition",
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor"
},
{
"key": "alt+cmd+0",
"command": "-workbench.action.toggleEditorGroupLayout"
},
{
"key": "alt+b",
"command": "cursorWordLeft",
"when": "textInputFocus"
},
{
"key": "alt+f",
"command": "cursorWordRight"
},
{
"key": "ctrl+d",
"command": "deleteRight",
"when": "textInputFocus"
},
{
"key": "ctrl+d",
"command": "-deleteRight",
"when": "textInputFocus"
},
{
"key": "ctrl+delete",
"command": "-deleteRight",
"when": "textInputFocus"
},
{
"key": "alt+d",
"command": "deleteWordRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+k",
"command": "deleteAllRight",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+w",
"command": "-workbench.action.switchWindow"
},
{
"key": "down",
"command": "-selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "cmd+o",
"command": "outline.focus"
},
{
"key": "j",
"command": "-list.focusDown",
"when": "listFocus && !inputFocus"
},
{
"key": "ctrl+n",
"command": "workbench.action.quickOpenSelectNext",
"when": "inQuickOpen"
},
{
"key": "ctrl+n",
"command": "-cursorDown",
"when": "textInputFocus && inputFocus"
},
{
"key": "ctrl+n",
"command": "selectNextSuggestion",
"when": "suggestWidgetMultipleSuggestions && suggestWidgetVisible && textInputFocus"
},
{
"key": "ctrl+n",
"command": "-extension.vim_ctrl+n",
"when": "editorTextFocus && vim.active && vim.use<C-n> && !inDebugRepl || vim.active && vim.use<C-n> && !inDebugRepl && vim.mode == 'CommandlineInProgress' || vim.active && vim.use<C-n> && !inDebugRepl && vim.mode == 'SearchInProgressMode'"
},
{
"key": "cmd+q cmd+q",
"command": "workbench.action.quit"
},
{
"key": "cmd+q",
"command": "-workbench.action.quit"
},
// Terminal actions
{
"key": "cmd+]",
"command": "workbench.action.terminal.focusNextPane",
"when": "terminalFocus && terminalProcessSupported"
},
{
"key": "cmd+[",
"command": "workbench.action.terminal.focusPreviousPane",
"when": "terminalFocus && terminalProcessSupported"
},
// Editor navigatior actions
{
"key": "shift+cmd+\\",
"command": "workbench.action.splitEditorDown",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+]",
"command": "workbench.action.focusRightGroup",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+[",
"command": "workbench.action.focusLeftGroup",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+shift+[",
"command": "workbench.action.focusBelowGroup",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "cmd+shift+]",
"command": "workbench.action.focusAboveGroup",
"when": "editorTextFocus && !editorReadonly"
},
// Clear terminal
{ "key": "cmd+k",
"command": "workbench.action.terminal.clear",
"when": "terminalFocus" },
]
{
"workbench.colorCustomizations": {
"tab.activeForeground": "#e1f100"
},
"python.pythonPath": "/Users/tnhoang/Library/Caches/pypoetry/virtualenvs/src-Evi_1Ohj-py3.9/bin/python3",
/* =========FILE========== */
"files.exclude": {
"**/__pycache__": true,
"**/.classpath": true,
"**/.factorypath": true,
"**/.project": true,
"**/.settings": true,
"**/env": true,
"node_modules/": true
},
"files.autoSave": "afterDelay",
/* =======EDITOR======== */
"editor.fontFamily": "Fira Code, Menlo, Monaco, 'Courier New', monospace, Meslo LG M DZ for Powerline",
"editor.suggestSelection": "first",
"editor.formatOnSave": true,
"editor.tabCompletion": "on",
"editor.snippetSuggestions": "top",
"editor.fontLigatures": true,
/* =======TERMINAL======== */
"terminal.external.osxExec": "iTerm.app",
"terminal.integrated.fontFamily": "Menlo for Powerline",
"terminal.integrated.copyOnSelection": true,
"terminal.integrated.rendererType": "canvas",
"ruby.intellisense": "rubyLocate",
/* =======SOLARGRAPH======== */
"solargraph.commandPath": "/Users/lpender/.rbenv/shims/solargraph",
/* =========VIM========== */
"vim.leader": " ",
// VIM > Easymotion
"vim.easymotion": true,
"vim.easymotionMarkerForegroundColorOneChar": "red",
"vim.easymotionKeys": "qwertyuiopasdfghjklzxcvbnm,.;1234567890",
// VIM > Key Binding
"vim.normalModeKeyBindingsNonRecursive": [
// Movement config
{
"before": [
"L"
],
"after": [
"l"
]
},
{
"before": [
"H"
],
"after": [
"h"
]
},
{
"before": [
"l"
],
"after": [
"w"
]
},
{
"before": [
"h"
],
"after": [
"b"
]
},
{
"before": [
"L"
],
"after": [
"l"
]
},
// =====================
{
"before": [
"u"
],
"after": [],
"commands": [
{
"command": "undo"
}
]
},
{
"before": [
"<C-r>"
],
"after": [],
"commands": [
{
"command": "redo"
}
]
},
// Bind <leader>m to add a bookmark and <leader>b to open the list of all bookmarks
{
"before": [
"<leader>",
"m"
],
"commands": [
"bookmarks.toggle"
]
},
{
"before": [
"<leader>",
"c"
],
"commands": [
"bookmarks.clearFromAllFiles"
]
},
{
"before": [
"<leader>",
"b"
],
"commands": [
"bookmarks.jumpToNext"
]
},
// Fold line of code
{
"before": [
"<leader>",
"f"
],
"commands": [
"editor.toggleFold"
]
},
// Bind > and < in visual mode to indent/outdent lines (repeatable)
{
"before": [
">"
],
"commands": [
"editor.action.indentLines"
]
},
{
"before": [
"<"
],
"commands": [
"editor.action.outdentLines"
]
},
// Easymotion with s
{
"before": [
"s"
],
"after": [
"leader",
"leader",
"s",
]
},
],
"vim.insertModeKeyBindings": [
{
"before": [
"<C-f>",
],
"after": [
"<Right>"
]
},
{
"before": [
"<C-b>",
],
"after": [
"<Left>"
]
},
{
"before": [
"<C-e>"
],
"commands": [
"cursorLineEnd",
]
},
{
"before": [
"<C-a>"
],
"commands": [
"cursorLineStart",
]
}
],
// Bookmarks
"macros": {
"saveAndExitVimInsertMode": [
"workbench.action.files.save",
"extension.vim_escape"
]
},
/* =======Languages======== */
/* =======Python======== */
"python.formatting.provider": "autopep8",
"sync.gist": "5f499582a0cdb52182a724f2bdcdf00c",
"python.languageServer": "Pylance",
"editor.minimap.enabled": false,
"python.formatting.blackArgs": [
"--line-length",
"120"
],
"liveServer.settings.donotShowInfoMsg": true,
"editor.accessibilitySupport": "off",
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
"editor.rename.enablePreview": false,
"terminal.integrated.macOptionIsMeta": true,
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 2
},
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"leetcode.hint.configWebviewMarkdown": false,
"leetcode.workspaceFolder": "/Users/tnhoang/.leetcode",
"leetcode.defaultLanguage": "python3",
"leetcode.hint.commentDescription": false,
"browser-preview.startUrl": "http://127.0.0.1:5500/index.html",
"workbench.editorAssociations": {
"*.ipynb": "jupyter-notebook"
},
"window.title": "${activeEditorShort}${separator}${activeEditorLong}",
"editor.rulers": [
120
],
"workbench.sideBar.location": "right",
"todo-tree.general.tags": [
"BUG",
"HACK",
"FIXME",
"TODO",
"XXX",
"[ ]",
"[x]"
],
"todo-tree.regex.regex": "(//|#|<!--|;|/\\*|^|^\\s*(-|\\d+.))\\s*($TAGS)",
"telemetry.enableCrashReporter": false,
"telemetry.enableTelemetry": false,
"editor.cursorBlinking": "smooth",
"workbench.colorTheme": "GitHub Dark Default",
"python.showStartPage": false,
"leetcode.hint.commandShortcut": false,
"editor.cursorStyle": "line",
"editor.insertSpaces": true,
"editor.lineNumbers": "on",
"editor.wordSeparators": "/\\()\"':,.;<>~!@#$%^&*|+=[]{}`?-",
"editor.wordWrap": "off",
"editor.detectIndentation": true,
"editor.tabSize": 4,
"notebook.cellToolbarLocation": {
"default": "right",
"jupyter-notebook": "left"
},
"workbench.startupEditor": "none",
"diffEditor.renderSideBySide": false,
"terminal.integrated.profiles.osx": {
"bash": {
"path": "bash",
"args": [
"-l"
],
"icon": "terminal-bash"
},
"zsh": {
"path": "zsh",
"args": [
"-l"
]
},
"fish": {
"path": "fish",
"args": [
"-l"
]
},
"tmux": {
"path": "tmux",
"icon": "terminal-tmux"
},
"pwsh": {
"path": "pwsh",
"icon": "terminal-powershell"
}
},
"[javascriptreact]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"docker.showStartPage": false,
"ponicode.token": "011bd691-b77f-435c-8d59-610ba90e9499",
"webview.experimental.useExternalEndpoint": true,
// "typescript.disableAutomaticTypeAcquisition": true
}
{
// Place your snippets for css 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:
"mediamin": {
"prefix": "@media",
"body": [
"@media (min-width: 768px) {",
" $1",
"}",
],
"description": "media screen"
},
"debug": {
"prefix": "d",
"body": [
"border: 1px solid green;",
],
"description": "debug div"
}
}
{
// 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:
"Parameterize test": {
"prefix": "paramjest",
"body": [
"describe('$1()', () => {",
" const testCases = [",
" { args: $2, expected: $3 },",
"]",
" testCases.forEach(testCase => {",
" it('should ', () => {",
" expect($1(testCase.args)).toEqual(testCase.expected);});});});"
],
"description": "Test with parameterize"
}
}
{
// 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:
"pdb": {
"prefix": "pdb",
"body": [
"import pdb; pdb.set_trace()",
],
},
"p": {
"prefix": "p",
"body": [
"print($1)",
],
},
"pp": {
"prefix": "pp",
"body": [
"print(f\"{$1=}\")",
],
},
"defin": {
"prefix": "defin",
"body": [
"def __init__(self, $1):",
],
},
"pytest_param": {
"prefix": "pytest_param",
"body": [
"@pytest.mark.parametrize('input, output', [($4)])",
"def test_$3(input, output):",
"\tassert $3(input) == output"
],
},
"header_comment": {
"prefix": "header",
"body": [
"#=================================================================",
"# $1",
"#================================================================="
]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment