Skip to content

Instantly share code, notes, and snippets.

@mr-ubik
Last active September 24, 2018 10:37
Show Gist options
  • Save mr-ubik/43b61451ef879c8aadfbf8401ac12e7b to your computer and use it in GitHub Desktop.
Save mr-ubik/43b61451ef879c8aadfbf8401ac12e7b to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2018-09-24T10:37:12.753Z","extensionVersion":"v3.1.2"}
[
{
"metadata": {
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085",
"publisherId": "bungcip.better-toml",
"publisherDisplayName": "bungcip"
},
"name": "better-toml",
"publisher": "bungcip",
"version": "0.3.2"
},
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.60"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.1.2"
},
{
"metadata": {
"id": "121396ad-85a1-45ec-9fd1-d95028a847f5",
"publisherId": "naumovs.color-highlight",
"publisherDisplayName": "naumovs"
},
"name": "color-highlight",
"publisher": "naumovs",
"version": "2.3.0"
},
{
"metadata": {
"id": "d66b3074-4bb3-4b47-a0e5-486958c4673d",
"publisherId": "HyperledgerComposer.composer-support-client",
"publisherDisplayName": "HyperledgerComposer"
},
"name": "composer-support-client",
"publisher": "HyperledgerComposer",
"version": "0.19.12"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "0.18.1"
},
{
"metadata": {
"id": "081cd2e9-bc51-4ea3-977e-544bed2e33a8",
"publisherId": "bierner.emojisense",
"publisherDisplayName": "bierner"
},
"name": "emojisense",
"publisher": "bierner",
"version": "0.4.1"
},
{
"metadata": {
"id": "2bba45f2-4a48-41a6-bb86-d6ba5ab29a9f",
"publisherId": "felipecaputo.git-project-manager",
"publisherDisplayName": "felipecaputo"
},
"name": "git-project-manager",
"publisher": "felipecaputo",
"version": "1.7.1"
},
{
"metadata": {
"id": "b75c12ec-9a82-45e7-aac2-1687e509a76b",
"publisherId": "sidneys1.gitconfig",
"publisherDisplayName": "sidneys1"
},
"name": "gitconfig",
"publisher": "sidneys1",
"version": "2.0.0"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.2"
},
{
"metadata": {
"id": "3e891cf9-53cb-49a3-8d01-8f0b1f0afb29",
"publisherId": "codezombiech.gitignore",
"publisherDisplayName": "codezombiech"
},
"name": "gitignore",
"publisher": "codezombiech",
"version": "0.5.0"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "8.5.6"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "ms-vscode.Go",
"publisherDisplayName": "ms-vscode"
},
"name": "Go",
"publisher": "ms-vscode",
"version": "0.6.89"
},
{
"metadata": {
"id": "416774c3-0e14-4434-b93d-853d616ad247",
"publisherId": "hoovercj.haskell-linter",
"publisherDisplayName": "hoovercj"
},
"name": "haskell-linter",
"publisher": "hoovercj",
"version": "0.0.6"
},
{
"metadata": {
"id": "4f846889-2416-4974-93cc-20ffd528cd4e",
"publisherId": "UCL.haskelly",
"publisherDisplayName": "UCL"
},
"name": "haskelly",
"publisher": "UCL",
"version": "0.5.4"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.2.1"
},
{
"metadata": {
"id": "c941a679-d500-46a8-b2a9-208063125901",
"publisherId": "wholroyd.jinja",
"publisherDisplayName": "wholroyd"
},
"name": "jinja",
"publisher": "wholroyd",
"version": "0.0.8"
},
{
"metadata": {
"id": "270c1d3b-a657-446f-83b8-ab32fd7af006",
"publisherId": "justusadam.language-haskell",
"publisherDisplayName": "justusadam"
},
"name": "language-haskell",
"publisher": "justusadam",
"version": "2.5.0"
},
{
"metadata": {
"id": "93ecc089-f396-47b4-8676-7fa3bc156a2c",
"publisherId": "sysoev.language-stylus",
"publisherDisplayName": "sysoev"
},
"name": "language-stylus",
"publisher": "sysoev",
"version": "1.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": "1.6.0"
},
{
"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": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "alefragnani.project-manager",
"publisherDisplayName": "alefragnani"
},
"name": "project-manager",
"publisher": "alefragnani",
"version": "9.0.0"
},
{
"metadata": {
"id": "f1f59ae4-9318-4f3c-a9b5-81b2eaa5f8a5",
"publisherId": "ms-python.python",
"publisherDisplayName": "ms-python"
},
"name": "python",
"publisher": "ms-python",
"version": "2018.8.0"
},
{
"metadata": {
"publisherId": "mr-ubik.ubik-hackerman-syntax",
"publisherDisplayName": "mr-ubik"
},
"name": "ubik-hackerman-syntax",
"publisher": "mr-ubik",
"version": "0.0.1"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "0.16.5"
},
{
"metadata": {
"id": "aaee577c-f062-495a-9816-0cbd442f1d25",
"publisherId": "ecmel.vscode-html-css",
"publisherDisplayName": "ecmel"
},
"name": "vscode-html-css",
"publisher": "ecmel",
"version": "0.2.0"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "robertohuertasm.vscode-icons",
"publisherDisplayName": "robertohuertasm"
},
"name": "vscode-icons",
"publisher": "robertohuertasm",
"version": "7.27.0"
},
{
"metadata": {
"id": "da00c08c-ff11-4cf3-b619-fdbd967d44c5",
"publisherId": "kalitaalexey.vscode-rust",
"publisherDisplayName": "kalitaalexey"
},
"name": "vscode-rust",
"publisher": "kalitaalexey",
"version": "0.4.2"
},
{
"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": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "1.2.3"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.0.16"
},
{
"metadata": {
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af",
"publisherId": "ms-vsliveshare.vsliveshare",
"publisherDisplayName": "ms-vsliveshare"
},
"name": "vsliveshare",
"publisher": "ms-vsliveshare",
"version": "0.3.709"
}
]
// Empty
[
// {
// "key": "ctrl+r",
// "command": "workbench.action.reloadWindow"
// },
{
"key": "ctrl+i",
"command": "editor.action.inspectTMScopes"
},
{
"key": "ctrl+enter",
"command": "code-runner.run"
},
{
"key": "ctrl+alt+n",
"command": "-code-runner.run"
}
]
{
// Python
"python.autoComplete.addBrackets": true,
"python.autoComplete.preloadModules": [
"Numpy",
"Pandas",
"Dask",
"Airflow",
"Tensorflow",
"Opencv"
],
"python.linting.flake8Enabled": true,
"python.linting.pylintEnabled": true,
"python.linting.mypyEnabled": true,
"python.linting.mypyPath": "mypy",
"python.unitTest.pyTestEnabled": true,
"python.unitTest.pyTestPath": "pytest",
"python.formatting.provider": "black",
"python.formatting.yapfArgs": [
"--style",
"{based_on_style: google, indent_width: 4}"
],
"python.venvPath": "~/Python_Envs",
"python.sortImports.path": "isort",
"python.linting.flake8Args": [
"--max-complexity=5",
"--max-line-length=89"
],
// Markdown
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": false,
"editor.insertSpaces": true,
"editor.tabSize": 4,
},
"markdownlint.config": {
"MD013": false,
"MD026": false,
"MD007": {
"indent": 4
}
},
"instantmarkdown.autoOpenBrowser": false,
// Vim
"vim.startInInsertMode": true,
"vim.statusBarColorControl": true,
"vim.enableNeovim": true,
"vim.neovimPath": "nvim",
// Editor
"editor.fontSize": 17,
"editor.fontFamily": "Hack Nerd Font",
"editor.renderWhitespace": "boundary",
"editor.renderIndentGuides": false,
"editor.rulers": [
89
],
"editor.snippetSuggestions": "top",
"editor.wordWrap": "wordWrapColumn",
// Files
"files.trimTrailingWhitespace": true,
"files.insertFinalNewline": true,
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": true,
// Keyboard
"keyboard.dispatch": "keyCode",
// Git
"git.autofetch": true,
// Gitlens
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": false,
"suppressWelcomeNotice": true
},
// Sync Settings
"sync.gist": "43b61451ef879c8aadfbf8401ac12e7b",
"sync.lastUpload": "2018-06-15T12:38:37.415Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "2018-06-15T07:17:34.156Z",
"sync.forceDownload": false,
// "sync.anonymousGist": false,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": false,
// Cspell
"cSpell.userWords": [
"Uncomment",
"absify",
"arange",
"asarray",
"astype",
"cmap",
"conformify",
"contours",
"conv",
"convolutional",
"coordinates",
"cvdf",
"d",
"dafaq",
"dataset",
"datasets",
"datefmt",
"dcgan",
"deconv",
"deconvolution",
"demoes",
"dictify",
"docstring",
"dsize",
"dtype",
"endmacro",
"external",
"favicon",
"flask",
"folder",
"frecords",
"functools",
"gans",
"gcloud",
"gcsfilesystem",
"gfile",
"hackerman",
"hashcode",
"hierarchy",
"ided",
"iimages",
"images",
"imagify",
"img",
"imgs",
"imread",
"imsave",
"imshow",
"imwrite",
"isin",
"iterrows",
"itertools",
"jinja",
"jsonl",
"jsonlines",
"jsons",
"jupyter",
"keras",
"keycaps",
"labelify",
"logitech",
"mdesimoni",
"meseeks",
"micheledesimoni",
"mnist",
"mypy",
"ndarray",
"newform",
"noqa",
"normalizaition",
"numpy",
"oauth",
"optimizers",
"parametrize",
"path",
"paths",
"pinterest",
"pred",
"proper",
"pyannotate",
"pyfile",
"pylint",
"pyplot",
"pytest",
"rect",
"relu",
"rescale",
"rescaled",
"retr",
"rrggbb",
"scipy",
"serverless",
"sess",
"sharded",
"shutil",
"strided",
"syntax",
"t",
"tanh",
"tensorflow",
"test",
"tfgan",
"tfrec",
"tfrecords",
"tolist",
"toml",
"ubik",
"ubyte",
"uint",
"unflatten",
"unflattening",
"vectorize",
"vectorized",
"wasserstein",
"wtforms",
"xfail",
"xrange",
"zuru"
],
"cSpell.enabledLanguageIds": [
"c",
"cpp",
"csharp",
"go",
"handlebars",
"javascript",
"javascriptreact",
"json",
"latex",
"markdown",
"php",
"plaintext",
"python",
"restructuredtext",
"text",
"typescript",
"typescriptreact",
"yml"
],
// Project Manager
"projectManager.groupList": true,
"projectManager.treeview.visible": true,
"projectManager.git.baseFolders": [
"$home/Documents/github",
"$home/Documents/work"
],
"projectManager.vscode.baseFolders": [
"$home/.vscode/"
],
"projectManager.vscode.maxDepthRecursion": 4,
// TODO Highlight
"todohighlight.keywords": [
{
"text": "DOCUMENT",
"color": "",
"backgroundColor": "False",
"border": "1px solid #42f450",
},
{
"text": "FUCKME:",
"color": "#f45c42",
"backgroundColor": "False"
}
],
"todohighlight.include": [
"**/*.js",
"**/*.jsx",
"**/*.ts",
"**/*.tsx",
"**/*.html",
"**/*.php",
"**/*.css",
"**/*.scss",
"**/*.py",
"**/*.md",
],
// Emmet
"emmet.includeLanguages": {
"jinja": "html"
},
// Zen Mode
"zenMode.hideTabs": false,
"window.zoomLevel": -1,
"explorer.confirmDelete": false,
"liveServer.settings.donotVerifyTags": true,
"liveServer.settings.port": 5600,
"files.autoSave": "onFocusChange",
"extensions.ignoreRecommendations": false,
"window.menuBarVisibility": "toggle",
"gitlens.keymap": "alternate",
"vsicons.dontShowNewVersionMessage": true,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"editor.formatOnPaste": false,
"editor.formatOnSave": true,
"explorer.confirmDragAndDrop": false,
"yaml.format.enable": false,
"prettier.disableLanguages": [
"vue",
"markdown",
],
"search.location": "panel",
"gitlens.historyExplorer.enabled": true,
"python.linting.flake8CategorySeverity.F": "Warning",
"html.format.indentHandlebars": true,
"html.format.indentInnerHtml": true,
"gitlens.gitExplorer.files.layout": "list",
"vim.statusBarColors": {
"insert": "#FF00A6",
"normal": "#268bd2",
"visual": "#859900"
},
"workbench.colorCustomizations": {
"statusBar.background": "#FF00A6",
"statusBar.noFolderBackground": "#FF00A6",
"statusBar.debuggingBackground": "#FF00A6"
},
"vim.useSystemClipboard": true,
"editor.cursorStyle": "line",
"vim.autoindent": true,
"vim.cmdLineInitialColon": true,
"vim.easymotion": true,
"vim.visualstar": true,
"terminal.external.linuxExec": "konsole",
"python.autoComplete.showAdvancedMembers": true,
"python.jediEnabled": false,
"python.jediPath": "jedi",
"go.formatTool": "goreturns",
"view-in-browser.customBrowser": "mozilla",
"todohighlight.isEnable": true,
"editor.wordWrapColumn": 100,
"todo-tree.defaultHighlight": {
"foreground": "green",
"type": "none"
},
"todo-tree.customHighlight": {
"TODO": {},
"FIXME": {},
"DOCUMENT": {},
"FUCKME": {}
},
"editor.formatOnType": true,
"workbench.panel.defaultLocation": "right",
"files.associations": {
".pylintrc": "ini",
"*.lr": "markdown"
},
"workbench.colorTheme": "Hackerman",
"markdown.extension.toc.levels": "2..6",
"sync.askGistName": true,
"gitProjectManager.baseProjectsFolders": [
"~/Documents/github/",
"~/Documents/writings"
],
"breadcrumbs.enabled": true,
"editor.ineNumbers": "relative",
"markdown.extension.italic.indicator": "_",
"markdown.extension.preview.autoShowPreviewToSide": true,
"markdown.extension.showExplorer": true,
"markdown.extension.tableFormatter.normalizeIndentation": true,
"markdown.extension.toc.githubCompatibility": true,
"vim.normalModeKeyBindingsNonRecursive": [
{
"before": [
" "
],
"after": [
"<leader>",
"<leader>",
"<leader>",
"b",
"d",
"w"
]
}
],
"vim.easymotionKeys": "neoithsa"
}
{
/*
// 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"
}
*/
// Jinja
"Jinja Inherit Template": {
"prefix": "extends",
"body": "{% extends \"$0\" %}",
"description": "DOCUMENT"
},
"Jinja New Block": {
"prefix": "block",
"body": "{% block ${1:} %}\n\t$0\n{% endblock $1 %}",
"description": "DOCUMENT"
},
"Jinja Logic": {
"prefix": "var",
"body": "{{ $0 }}",
"description": "DOCUMENT"
},
"Jinja for Loop": {
"prefix": "for",
"body": "{% for ${1:} in ${2:} %}\n\t${0}\n{% endfor %}",
"description": "Jinja2 for Loop"
},
"Jinja if Statement": {
"prefix": "if",
"body": "{% if ${1:} %}\n\t${0}\n{% endif %}",
"description": "Jinja2 if Statement"
},
"Jinja Macro": {
"prefix": "macro",
"body": "{% macro ${1:}(${2:}) %}\n\t${0}\n{% endmacro %}",
"description": "Jinja2 if Statement"
},
}
{
/*
// Place your snippets for Jinja 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"
}
*/
// Jinja
"Extends": {
"prefix": "extends",
"body": "{% extends \"$0\" %}",
"description": "DOCUMENT"
},
"New Block": {
"prefix": "block",
"body": "{% block ${1:} %}\n\t$0\n{% endblock $1 %}",
"description": "DOCUMENT"
},
"VAR": {
"prefix": "var",
"body": "{{ $0 }}",
"description": "DOCUMENT"
},
}
{
/*
// Place your snippets for JSON 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"
}
*/
"New Snippet": {
"prefix": "newsnippet",
"body": [
"\"${1:New Snippet}\": {",
"\t\"prefix\": \"${2:snippet}\",",
"\t\"body\": \"$0\",",
"\t\"description\": \"DOCUMENT\"",
"}",
],
"description": "Generate a snippet."
},
}
{
/*
// Place your snippets for JSON with Comments 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"
}
*/
}
{
// 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"
// }
"New Pelican Post": {
"prefix": "newpost",
"body":[
"Title: $1",
"Category: $2",
"Subcategory: $3",
"Tag: $4",
"Slug: $5",
"Summary: $6",
"Status: unpublished"
],
"description": "Pelican Post Template"
}
}
{
/*
// 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"
}
*/
"Import Numpy": {
"prefix": "np",
"body": "import numpy as np\n$0",
"description": "",
},
"Import TensorFlow": {
"prefix": "tf",
"body": "import tensorflow as tf\n$0",
"description": "",
},
"Docstring": {
"prefix": "doc",
"body": [
"\"\"\"DOCUMENT Docstring.\n",
"Args:",
"\t${1:params}.\n",
"Returns:",
"\t${2:Describe the type and semantics of the return value}.",
"\"\"\""
]
},
"FormSubmit": {
"prefix": "submit",
"body": "submit = SubmitField(\"${1:Submit}\")$0",
},
"New SubClass": {
"prefix": "subclass",
"body": [
"class ${1:ClassName}(${2:object}):",
"\t\"\"\"${3:DOCUMENT docstring for $1}\"\"\"\n",
"\tdef __init__(self, ${4:arg}):",
"\t\t${5:super($1, self).__init__()}",
"\t\tself.arg = arg\n\t\t$0"
]
},
"New Class": {
"prefix": "class",
"body": [
"class ${1:ClassName}(${2:object}):",
"\t\"\"\"${3:DOCUMENT Docstring for $1}\"\"\"\n",
"\t${0}",
"\n\tpass"
]
},
"New Function": {
"prefix": "def",
"body": [
"def ${1:}(${2:argument}):",
"\t\"\"\"${3:DOCUMENT Docstring for} ${1}.",
"\tArgs:",
"\t\t${2}:${4}.\n",
"\tReturns:",
"\t\t${5:Describe the type and semantics of the return value}.",
"\t\"\"\"",
"\t$0",
"\tpass",
]
},
"New WTF-Flask-Form": {
"prefix": "newform",
"body": [
"class ${1:name}Form(FlaskForm):",
"\t\"\"\"${3:DOCUMENT Docstring for ${1}Form}\"\"\"\n",
"\t$0",
"\tsubmit = SubmitField('Submit')"
],
"description": "Create a new Flask-WTF form."
},
"Commented Visual Separator": {
"prefix": "cline",
"body": "# ##########################################################\n${0}",
"description": "Insert a visual separator for readability",
},
"Map": {
"prefix": "map",
"body": "map(lambda ${1:parameter_list}: ${2:expression}, ${3:iterables})",
"description": "Map a function to a set of iterables."
},
"Get Values from Key ": {
"prefix": "get",
"body": "get(\"${0}\")",
"description": "Call the .get() method."
},
"Python 2 Type Annotation": {
"prefix": "2type",
"body": " # type: (${1:}) -> ${2:}${0}",
"description": "Add a Python 2.7 Type Annotation"
}
}
{"version":"7.27.0","status":2,"welcomeShown":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment