Skip to content

Instantly share code, notes, and snippets.

@cyberbiont
Last active August 19, 2020 16:10
Show Gist options
  • Save cyberbiont/6dd27b2231638605909602249a761e3e to your computer and use it in GitHub Desktop.
Save cyberbiont/6dd27b2231638605909602249a761e3e to your computer and use it in GitHub Desktop.
PROFILE - Students (Dan.IT - extensions) - Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-08-14T23:29:26.816Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "968b335f-0c15-4e6a-86ad-d3da45dbad73",
"publisherId": "aliariff.auto-add-brackets",
"publisherDisplayName": "aliariff"
},
"name": "auto-add-brackets",
"publisher": "aliariff",
"version": "0.11.0"
},
{
"metadata": {
"id": "bf8cb494-ad1a-4f2c-bf51-4bf2bc2ddde5",
"publisherId": "SimonSiefke.auto-rename-tag",
"publisherDisplayName": "SimonSiefke"
},
"name": "auto-rename-tag",
"publisher": "SimonSiefke",
"version": "0.1.4"
},
{
"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": "897c115a-dfbf-4c20-bafd-1c13fc5d1d80",
"publisherId": "Yummygum.city-lights-icon-vsc",
"publisherDisplayName": "Yummygum"
},
"name": "city-lights-icon-vsc",
"publisher": "Yummygum",
"version": "1.1.3"
},
{
"metadata": {
"id": "9af62ee3-0097-4b7b-891a-4a94eb3e1009",
"publisherId": "yummygum.city-lights-theme",
"publisherDisplayName": "yummygum"
},
"name": "city-lights-theme",
"publisher": "yummygum",
"version": "1.1.8"
},
{
"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": "47bef093-f99d-4d6e-95e5-4107ecffac7d",
"publisherId": "yesmeck.codesandbox",
"publisherDisplayName": "yesmeck"
},
"name": "codesandbox",
"publisher": "yesmeck",
"version": "0.0.8"
},
{
"metadata": {
"id": "d9a418aa-8502-487d-a3f3-aa19b441c276",
"publisherId": "ysemeniuk.emmet-live",
"publisherDisplayName": "ysemeniuk"
},
"name": "emmet-live",
"publisher": "ysemeniuk",
"version": "1.0.0"
},
{
"metadata": {
"id": "db50f65a-6c7c-4134-8e8d-e6b8a9c738da",
"publisherId": "Tobermory.es6-string-html",
"publisherDisplayName": "Tobermory"
},
"name": "es6-string-html",
"publisher": "Tobermory",
"version": "1.8.8"
},
{
"metadata": {
"id": "438221f8-1107-4ccd-a6fe-f3b7fe0856b7",
"publisherId": "mhutchie.git-graph",
"publisherDisplayName": "mhutchie"
},
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.25.0"
},
{
"metadata": {
"id": "0ec558c9-f7f7-4df3-b2cf-a41ddcf292dd",
"publisherId": "mkaufman.HTMLHint",
"publisherDisplayName": "mkaufman"
},
"name": "HTMLHint",
"publisher": "mkaufman",
"version": "0.8.0"
},
{
"metadata": {
"id": "c579e28a-c805-480f-8f8a-a9e6c74fb57b",
"publisherId": "byi8220.indented-block-highlighting",
"publisherDisplayName": "byi8220"
},
"name": "indented-block-highlighting",
"publisher": "byi8220",
"version": "1.0.7"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"metadata": {
"id": "69b16d69-4e4e-4669-934c-daa646794c37",
"publisherId": "dcasella.monokai-plusplus",
"publisherDisplayName": "dcasella"
},
"name": "monokai-plusplus",
"publisher": "dcasella",
"version": "1.9.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.1.3"
},
{
"metadata": {
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "alefragnani.project-manager",
"publisherDisplayName": "alefragnani"
},
"name": "project-manager",
"publisher": "alefragnani",
"version": "11.1.0"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.312"
},
{
"metadata": {
"id": "f7b574f6-383c-42e1-96bd-0ce1dcc3bf5b",
"publisherId": "daylerees.rainglow",
"publisherDisplayName": "daylerees"
},
"name": "rainglow",
"publisher": "daylerees",
"version": "1.5.2"
},
{
"metadata": {
"id": "466468c3-1861-4ad1-bf3e-f9ad46545ebb",
"publisherId": "syler.sass-indented",
"publisherDisplayName": "syler"
},
"name": "sass-indented",
"publisher": "syler",
"version": "1.8.9"
},
{
"metadata": {
"id": "d42d0fe8-4b25-4734-8875-55341f448706",
"publisherId": "sketchbuch.vsc-quokka-statusbar",
"publisherDisplayName": "sketchbuch"
},
"name": "vsc-quokka-statusbar",
"publisher": "sketchbuch",
"version": "1.3.5"
},
{
"metadata": {
"id": "0b8f8d63-11a2-4194-969c-ca7488b3413a",
"publisherId": "pranaygp.vscode-css-peek",
"publisherDisplayName": "pranaygp"
},
"name": "vscode-css-peek",
"publisher": "pranaygp",
"version": "4.0.0"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.8"
},
{
"metadata": {
"id": "84d4a562-c19b-4b30-b8f8-8e02eaf02fa2",
"publisherId": "sandcastle.vscode-open",
"publisherDisplayName": "sandcastle"
},
"name": "vscode-open",
"publisher": "sandcastle",
"version": "0.1.0"
},
{
"metadata": {
"id": "dde27962-923d-4d2a-b1a6-fd24d9ebbaf6",
"publisherId": "yuichinukiyama.vscode-preview-server",
"publisherDisplayName": "yuichinukiyama"
},
"name": "vscode-preview-server",
"publisher": "yuichinukiyama",
"version": "1.3.0"
},
{
"metadata": {
"id": "f38abf4d-543d-496d-9353-0025faa19abd",
"publisherId": "hoovercj.vscode-settings-cycler",
"publisherDisplayName": "hoovercj"
},
"name": "vscode-settings-cycler",
"publisher": "hoovercj",
"version": "1.0.1"
},
{
"metadata": {
"id": "5a6dc0d5-dc02-4121-8e24-cad33a2ff0af",
"publisherId": "ms-vsliveshare.vsliveshare",
"publisherDisplayName": "ms-vsliveshare"
},
"name": "vsliveshare",
"publisher": "ms-vsliveshare",
"version": "1.0.2619"
},
{
"metadata": {
"id": "8b2af6ed-196d-4ab7-a537-2915197a6de1",
"publisherId": "lostintangent.vsls-whiteboard",
"publisherDisplayName": "lostintangent"
},
"name": "vsls-whiteboard",
"publisher": "lostintangent",
"version": "0.0.11"
}
]
// Place your key bindings in this file to override the defaultsauto[]
[
{
"key": "ctrl+/",
"command": "-editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+`",
"command": "editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "shift+alt+a",
"command": "-editor.action.blockComment",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+`",
"command": "type",
"args": { "text": "`" },
"when": "editorTextFocus"
},
{
"key": "`",
"command": "editor.action.commentLine",
"when": "editorTextFocus && !editorReadonly"
},
{
"key": "alt+a",
"command": "extension.annotate"
},
{
"key": "alt+e",
"command": "extension.edit"
},
{
"key": "ctrl+alt+l",
"command": "settings.cycle.lineNumbers",
"when": "editorFocus"
},
{
"key": "shift+alt+backspace",
"command": "workbench.action.reloadWindow"
},
{
"key": "ctrl+r",
"command": "-workbench.action.reloadWindow",
"when": "isDevelopment"
},
{
"key": "shift+alt+`",
"command": "extension.nestComments",
"when": "editorHasSelection && editorTextFocus"
},
{
"key": "ctrl+alt+/",
"command": "-extension.nestComments",
"when": "editorHasSelection && editorTextFocus"
},
{
"key": "ctrl+alt+f",
"command": "extension.switchFont"
},
{
"key": "ctrl+alt+]",
"command": "settings.cycle.font"
},
{
"key": "shift+alt+enter",
"command": "extension.open"
},
{
"key": "ctrl+alt+.",
"command": "bracketeer.swapQuotes"
},
{
"key": "ctrl+shift+alt+;",
"command": "-bracketeer.swapQuotes"
},
{
"key": "ctrl+alt+]",
"command": "bracketeer.swapBrackets"
},
{
"key": "ctrl+shift+alt+k",
"command": "-bracketeer.swapBrackets"
},
{
"key": "ctrl+alt+,",
"command": "bracketeer.selectQuotesContent"
},
{
"key": "ctrl+shift+alt+0",
"command": "-bracketeer.selectQuotesContent"
},
{
"key": "ctrl+alt+[",
"command": "bracketeer.selectBracketContent"
},
{
"key": "ctrl+shift+alt+h",
"command": "-bracketeer.selectBracketContent"
},
{
"key": "ctrl+alt+/",
"command": "bracketeer.removeQuotes"
},
{
"key": "ctrl+shift+alt+'",
"command": "-bracketeer.removeQuotes"
},
{
"key": "ctrl+alt+\\",
"command": "bracketeer.removeBrackets"
},
{
"key": "ctrl+shift+alt+i",
"command": "-bracketeer.removeBrackets"
},
{
"key": "shift+alt+pagedown",
"command": "bracket-pair-colorizer-2.expandBracketSelection"
},
{
"key": "ctrl+shift+;",
"command": "extension.toggleColon",
"when": "editorTextFocus"
},
{
"key": "ctrl+;",
"command": "extension.toggleSemicolon",
"when": "editorTextFocus"
},
{
"key": "alt+d",
"command": "dimmer.ToggleDimmer"
},
{
"key": "f9",
"command": "dakara-transformer.sortLines"
},
{
"key": "shift+delete",
"command": "editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+shift+k",
"command": "-editor.action.deleteLines",
"when": "textInputFocus && !editorReadonly"
},
{
"key": "ctrl+alt+d",
"command": "docthis.documentThis"
},
{
"key": "ctrl+alt+d ctrl+alt+d",
"command": "-docthis.documentThis"
},
{
"key": "ctrl+shift+a",
"command": "sidenotes.annotatePickExt",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+1",
"command": "settings.cycle.all"
},
{
"key": "ctrl+alt+2",
"command": "settings.cycle.current"
},
{
"key": "ctrl+alt+s",
"command": "workbench.action.openSettingsJson"
}
]
{
// 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:
"this": {
"scope": "javascript,typescript",
"prefix": ".",
"body": ["this.$0"],
"description": "Insert this keyword"
},
"const": {
"scope": "javascript,typescript",
"prefix": "c",
"body": ["const $1 = $2"],
"description": "Declare const variable"
},
"promise": {
"scope": "javascript,typescript",
"prefix": "p",
"body": ["Promise${1:<$0>}"],
"description": "Insert promise keyword"
},
// FUNCTIONS
// FD
"function declaration": {
"scope": "javascript,typescript",
"prefix": ["fn", "fd"],
"body": ["function ${1:functionName} (${2:arguments}) {", "\t$0", "}"],
"description": "A function declaration."
},
// AFD
"async function declaration": {
"scope": "javascript,typescript",
"prefix": ["afn", "afd"],
"body": ["async function ${1:functionName} (${2:arguments}) {", "\t$0", "}"],
"description": "An async function declaration."
},
// FE
"function expression": {
"scope": "javascript,typescript",
"prefix": [
"=fn",
"=f"
// "fe",
],
"body": ["const ${1:name} = function (${2:arguments}) {", "\t$0", "};"],
"description": "A function declaration."
},
// AFE
"async FE": {
"scope": "javascript,typescript",
"prefix": [
"=af",
"=afn"
// "afe",
],
"body": [
"const ${1:name} = async function (${2:arguments}) {",
"\t$0",
"};"
],
"description": "An async function expression."
},
// => FE
"=> FE": {
"scope": "javascript,typescript",
"prefix": [
"=>"
// "fe>"
],
"body": ["const ${1:name} = (${2:arguments}) => {", "\t$0", "};"],
"description": "An arrow function expression."
},
// => AFE
"async => FE": {
"scope": "javascript,typescript",
"prefix": [
"=a>"
// "afe>"
],
"body": ["const ${1:name} = async (${2:arguments}) => {", "\t$0", "};"],
"description": "An async arrow function expression."
},
"anonymous function callback": {
"scope": "javascript,typescript",
"prefix": ["f"],
"body": ["function (${1:arguments}) {", "\t$0", "}"],
"description": "An anonymous callback function."
},
"async anonymous function callback": {
"scope": "javascript,typescript",
"prefix": ["af"],
"body": ["async function (${1:arguments}) => {", "\t$0", "}"],
"description": "An async anonymous callback function."
},
// =>
"=> callback": {
"scope": "javascript,typescript",
"prefix": [">", "6"],
"body": ["(${1:}) => {", "\t$0", "}"],
"description": "An arrow callback function."
},
"async => callback": {
"scope": "javascript,typescript",
"prefix": ["a>"],
"body": ["async (${1:arguments}) => {", "\t$0", "}"],
"description": "An async arrow callback function."
},
//methods
"method": {
"scope": "javascript,typescript",
"prefix": ["m"],
"body": ["${1:methodName}(${2:arguments}) {", "\t$0", "}"],
"description": "A class method declaration."
},
"async method": {
"scope": "javascript,typescript",
"prefix": ["am"],
"body": ["async ${1:methodName}(${2:arguments}) {", "\t$0", "}"],
"description": "Am async class method declaration."
},
"proxy handler method": {
"scope": "javascript,typescript",
"prefix": ["phm"],
"body": ["${1:methodName}(${2:target, prop}${3:reveiver}) {", "\t$0", "}"],
"description": "proxy handler method."
},
"NFE": {
"scope": "javascript,typescript",
"prefix": ["nfe", "=nf"],
"body": [
"const ${1:name} = function ${2:functionName}(${3:arguments}) {",
"\t$0",
"}"
],
"description": "A named function expression."
},
"async NFE": {
"scope": "javascript,typescript",
"prefix": ["anfe", "=anf"],
"body": [
"const ${1:name} = async function ${2:functionName}(${3:arguments}) {",
"\t$0",
"}"
],
"description": "An async named function expression."
},
//IIFE
"IIFE": {
"scope": "javascript,typescript",
"prefix": ["iife"],
"body": ["(function() {", "\t$0", "})();"],
"description": "immediately invoked function expression."
},
"async IIFE": {
"scope": "javascript,typescript",
"prefix": ["aiife"],
"body": ["(async function() {", "\t$0", "})();"],
"description": "an async immediately invoked function expression."
},
"II arrow function ": {
"scope": "javascript,typescript",
"prefix": ["iife"],
"body": ["(() => {", "\t$0", "})();"],
"description": "an immediately invoked arrow function."
},
"async II arrow function": {
"scope": "javascript,typescript",
"prefix": ["iife"],
"body": ["(async () => {", "\t$0", "})();"],
"description": "an async immediately invoked arrow function."
},
// Constructions
"ternary": {
"scope": "javascript,typescript",
"prefix": ["ter", "?"],
"body": [
"const ${1:name} = (${2:condition})",
"\t? ${3:ifTrue}",
"\t: ${4:ifFalse};"
],
"description": "ternary expression"
},
//classes
"class": {
"scope": "javascript,typescript",
"prefix": "cs",
"body": [
"export default class ${1:${TM_FILEPATH/.*[\\/\\\\]([^\\/\\\\]+)[\\/\\\\]index\\.[jt]s$|.*[\\/\\\\](.*?)(?:\\.[^.]*)$/$1$2/}} {",
"\t$0",
"}",
""
// "export default ${1: ${TM_FILEPATH/.*[\\/\\\\]([^\\/\\\\]+)[\\/\\\\]index\\.[jt]s$|.*[\\/\\\\](.*?)(?:\\.[^.]*)$/$1$2/}};"
],
"description": "Class exported as default and named after the file (if file is not named index, in which case the class is named after the parent folder)."
},
"classExtends": {
"scope": "javascript,typescript",
"prefix": "cse",
"body": [
"export default class ${1:${TM_FILEPATH/.*[\\/\\\\]([^\\/\\\\]+)[\\/\\\\]index\\.[jt]s$|.*[\\/\\\\](.*?)(?:\\.[^.]*)$/$1$2/}} extends ${2:SuperClass} {",
"\t$0",
"}",
""
// "export default ${1: ${TM_FILEPATH/.*[\\/\\\\]([^\\/\\\\]+)[\\/\\\\]index\\.[jt]s$|.*[\\/\\\\](.*?)(?:\\.[^.]*)$/$1$2/}};"
],
"description": "Subclass exported as default and named after the file (if file is not named index, in which case the class is named after the parent folder)."
},
"constructor": {
"scope": "javascript,typescript",
"prefix": "cr",
"body": ["constructor(${1:dependencies}) {$0}"],
"description": "class constructor"
},
"constructorChild": {
"scope": "javascript,typescript",
"prefix": "cre",
"body": [
"constructor(${1:dependencies}) {",
"\tsuper(${1:parentDependecies});",
"\t$0",
"}"
],
"description": "child class constructor"
},
// imports
"named import": {
"scope": "javascript,typescript",
"prefix": "i",
"body": ["import { ${1:namedExport} } from '${2:module}';"],
"description": "named import"
},
"default import": {
"scope": "javascript,typescript",
"prefix": "id",
"body": ["import ${1:defaultExport} from '${1:module}';"],
"description": "default import"
},
"default and named import": {
"scope": "javascript,typescript",
"prefix": "idn",
"body": [
"import { default as ${1:defaultExport}, ${2:namedImport} } from '${1:module}';"
],
"description": "default and named import"
},
"namespace import ": {
"scope": "javascript,typescript",
"prefix": "i*",
"body": ["import * as ${1:namespace} from '${1:module}';"],
"description": "namespace import"
},
"require namespace assignment": {
"scope": "javascript,typescript",
"prefix": ["=rn", "=r*"],
"body": ["const ${1:name} = require('${2:module}');"],
"description": "require namespace assignment"
},
"require desctructuring": {
"scope": "javascript,typescript",
"prefix": "=r",
"body": ["const { ${1:name} } = require('${2:module}');"],
"description": "require assignment"
},
"require": {
"scope": "javascript,typescript",
"prefix": "r",
"body": ["require('${1:module}');"],
"description": "require"
},
"ts mixin": {
"scope": "javascript,typescript",
"prefix": "mx",
"body": [
"function ${1:name}<T extends new(...args: any[]) => { ${2:alreadyImplements} }>(Base: T) {",
"\treturn class ${1:name} extends Base {",
"\t\tconstructor(...args: any[]) {",
"\t\t\tsuper(...args);",
"\t\t}",
"\t};",
"}"
],
"description": "typescript mixin class"
},
"ts two call mixin": {
"scope": "javascript,typescript",
"prefix": "mx2",
"body": [
"function ${1:name}<U>() {",
"\treturn function <T extends new(...args: any[]) => { ${2:alreadyImplements} }>(Base: T) {",
"\t\treturn class ${1:name} extends Base {",
"\t\t\tconstructor(...args: any[]) {",
"\t\t\t\tsuper(...args);",
"\t\t\t}",
"\t\t};",
"\t}",
"}"
],
"description": "typescript two call mixin class to convey second type argument"
// usage: const TrackingActiveMap = TrackingActive<string>()(Map);
// 2: returns/already implements - тип, возвращаемый исходным конструктором, по дефолту объект
// может соответствовать другому миксину, который был применен накнструкторе до этого
// type Mixin<T extends AnyFunction> = InstanceType<ReturnType<T>>
// myMixinType = Mixin<typeof MyMixin>
},
"Promise": {
"scope": "javascript,typescript",
"prefix": ["prm"],
"body": ["new Promise((res, rej) => {", "\t$0", "})"],
"description": "A named function expression."
}
}
{
// Place your snippets for twig 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 typescript 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"
// }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment