Skip to content

Instantly share code, notes, and snippets.

@ciases
Last active February 14, 2021 19:24
Show Gist options
  • Save ciases/9362433c28243aa71859c1713763385a to your computer and use it in GitHub Desktop.
Save ciases/9362433c28243aa71859c1713763385a to your computer and use it in GitHub Desktop.
Visual Studio Code Sync Settings Gist
{"lastUpload":"2020-12-03T09:17:53.371Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "d1818e93-bccc-4812-8b8b-37aabc5a7a94",
"publisherId": "BeardedBear.beardedtheme",
"publisherDisplayName": "BeardedBear"
},
"name": "beardedtheme",
"publisher": "BeardedBear",
"version": "3.5.2"
},
{
"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": "1b625615-bded-4797-9806-079abcacfcc1",
"publisherId": "letrieu.expand-region",
"publisherDisplayName": "letrieu"
},
"name": "expand-region",
"publisher": "letrieu",
"version": "0.1.4"
},
{
"metadata": {
"id": "438221f8-1107-4ccd-a6fe-f3b7fe0856b7",
"publisherId": "mhutchie.git-graph",
"publisherDisplayName": "mhutchie"
},
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.28.0"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.0.6"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.8.0"
},
{
"metadata": {
"id": "797a79de-a0fd-4349-9034-bec47be9a941",
"publisherId": "2gua.rainbow-brackets",
"publisherDisplayName": "2gua"
},
"name": "rainbow-brackets",
"publisher": "2gua",
"version": "0.0.6"
},
{
"metadata": {
"id": "2795296d-027c-4cb5-aa96-9e7f4bd02958",
"publisherId": "mattn.Runner",
"publisherDisplayName": "mattn"
},
"name": "Runner",
"publisher": "mattn",
"version": "0.1.16"
},
{
"metadata": {
"id": "43bc4ddf-75d8-40f5-9f61-e8f9823ec178",
"publisherId": "wware.snippet-creator",
"publisherDisplayName": "wware"
},
"name": "snippet-creator",
"publisher": "wware",
"version": "1.1.1"
},
{
"metadata": {
"id": "51cd7dfb-14fa-4fcc-aa42-16add9281456",
"publisherId": "SimonSiefke.svg-preview",
"publisherDisplayName": "SimonSiefke"
},
"name": "svg-preview",
"publisher": "SimonSiefke",
"version": "2.8.3"
},
{
"metadata": {
"id": "23f1aa8b-b6bf-4654-83c1-4cab7f14eab6",
"publisherId": "kube.theme-kay",
"publisherDisplayName": "kube"
},
"name": "theme-kay",
"publisher": "kube",
"version": "1.0.3"
},
{
"metadata": {
"id": "86432a4f-c19d-459c-bf60-2776fab2186a",
"publisherId": "neptunedesign.vs-html-to-css",
"publisherDisplayName": "neptunedesign"
},
"name": "vs-html-to-css",
"publisher": "neptunedesign",
"version": "1.0.0"
},
{
"metadata": {
"id": "f97a6398-d553-44cf-9ebf-54e8dbf8d3fb",
"publisherId": "pucelle.vscode-css-navigation",
"publisherDisplayName": "pucelle"
},
"name": "vscode-css-navigation",
"publisher": "pucelle",
"version": "1.9.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": "07fc4a0a-11fc-4121-ba9a-f0d534c729d8",
"publisherId": "pflannery.vscode-versionlens",
"publisherDisplayName": "pflannery"
},
"name": "vscode-versionlens",
"publisher": "pflannery",
"version": "1.0.9"
},
{
"metadata": {
"id": "0e4f50c8-76f1-4e2a-a177-2418b5f5a847",
"publisherId": "smockle.xcode-default-theme",
"publisherDisplayName": "smockle"
},
"name": "xcode-default-theme",
"publisher": "smockle",
"version": "2.0.24"
}
]
{"attempts":1,"previous":{"extension":"1.27.0","vscode":"1.51.0"},"current":{"extension":"1.28.0","vscode":"1.51.1"},"apiAvailable":true,"queue":[]}
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+w",
"command": "expand_region",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+w",
"command": "undo_expand_region",
"when": "editorTextFocus && editorHasSelection"
},
{
"key": "ctrl+alt+l",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+alt+l",
"command": "editor.action.formatSelection",
"when": "editorHasDocumentSelectionFormattingProvider && editorHasSelection && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+j",
"command": "editor.action.joinLines",
"when": "editorTextFocus"
},
{
"key": "ctrl+k",
"command": "insertSnippet"
},
{
"key": "shift+ctrl+k",
"command": "editor.emmet.action.expandAbbreviation",
"when": "editorTextFocus"
},
{
"key": "ctrl+k",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus && editorHasSelection"
},
{
"key": "ctrl+k",
"command": "jumpToNextSnippetPlaceholder",
"when": "editorTextFocus && inSnippetMode"
},
{
"key": "cmd+k 1",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus",
"args": {
"snippet": "console.log($1)$0"
}
}
{
"key": "shift+ctrl+d",
"command": "editor.action.copyLinesDownAction",
"when": "editorTextFocus"
},
{
"key": "alt+l",
"command": "editor.action.moveCarretRightAction",
"when": "editorTextFocus"
},
{
"key": "alt+h",
"command": "editor.action.moveCarretLeftAction",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+enter",
"command": "editor.emmet.action.wrapWithAbbreviation",
"when": "editorTextFocus && editorHasSelection"
},
{
"key": "ctrl+`",
"command": "editor.action.transformToLowercase",
"when": "editorTextFocus && editorHasSelection"
},
{
"key": "ctrl+k",
"command": "editor.action.insertSnippet",
"when": "editorTextFocus"
}
]
{
// Defines VSCode's display language.
// See https://go.microsoft.com/fwlink/?LinkId=761051 for a list of supported languages.
// Changing the value requires restarting VSCode.
"locale":"en"
}
{
"name": "material-icon-theme",
"version": "2.0.9"
}
// Place your settings in this file to overwrite the default settings
{
"editor.fontFamily": "'Iosevka SS04', Iosevka, 'Noto Mono', Monaco, Consolas, 'Courier New', monospace",
"editor.fontSize": 16,
"editor.lineHeight": 20,
"editor.renderWhitespace": "all",
"editor.wordWrap": "on",
"window.zoomLevel": 1,
"files.autoSave": "afterDelay",
"sync.gist": "9362433c28243aa71859c1713763385a",
"sync.lastUpload": "2018-08-30T09:01:28.505Z",
"sync.autoDownload": true,
"sync.autoUpload": false,
"sync.lastDownload": "2018-08-05T13:18:25.103Z",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"files.trimTrailingWhitespace": true,
"sync.host": "",
"sync.pathPrefix": "",
"editor.snippetSuggestions": "top",
"window.title": "${dirty} [ ${rootName} ] ${activeEditorMedium} ",
"sync.quietSync": true,
"editor.formatOnType": true,
"editor.multiCursorModifier": "ctrlCmd",
"workbench.sideBar.location": "left",
"workbench.colorCustomizations": {
"editorWhitespace.foreground": "#ece7dd"
// "editorWhitespace.foreground": "#ddd"
},
"sync.askGistName": false,
"workbench.startupEditor": "newUntitledFile",
"window.menuBarVisibility": "toggle",
"emmet.triggerExpansionOnTab": true,
"extensions.ignoreRecommendations": true,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"editor.tabSize": 2,
"sync.forceDownload": false,
"[javascript]": {
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
// "editor.defaultFormatter": "vscode.typescript-language-features",
// "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.formatOnSave": true,
// "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescriptreact]": {
"editor.formatOnSave": true,
// "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.formatOnSave": true
},
"[vue]": {
"editor.formatOnSave": true
},
"prettier.trailingComma": "none",
// "editor.defaultFormatter": "esbenp.prettier-vscode",
"files.eol": "\n",
"git.confirmSync": false,
"terminal.integrated.fontFamily": "'Noto Mono', Monaco, Consolas, 'Courier New', monospace",
"javascript.updateImportsOnFileMove.enabled": "always",
"breadcrumbs.enabled": true,
"diffEditor.ignoreTrimWhitespace": false,
"gitlens.hovers.currentLine.over": "line",
"gitlens.currentLine.enabled": false,
"[json]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[jsonc]": {
"editor.defaultFormatter": "vscode.json-language-features"
},
"telemetry.enableTelemetry": false,
"telemetry.enableCrashReporter": false,
"vs-html-to-css.append": " {\n}\n\n",
"vs-html-to-css.disableNotification": true,
"vs-html-to-css.ignore": [
"container",
"row"
],
"sync.forceUpload": true,
"[html]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.fontLigatures": true,
"prettier.singleQuote": true,
"gitlens.advanced.telemetry.enabled": false,
"liveServer.settings.donotVerifyTags": true,
"php.validate.executablePath": "c:\\php\\php.exe",
"runner.languageMap": {
"php": "c:\\php\\php.exe"
},
"runner.extensionMap": {
"php": "c:\\php\\php.exe"
},
"liveServer.settings.donotShowInfoMsg": true,
"workbench.colorTheme": "Kay Light",
"workbench.editor.pinnedTabSizing": "compact",
}
{
// 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:
// CSS/LESS/SASS/WHATEVER snippets
"Media query min-width": {
"scope": "css,scss,sass,less",
"prefix": "me",
"body": [
"@media (min-width: ${1:768px}) {",
"\t$0",
"}",
]
},
"@media min-width + clipboard": {
"scope": "css,scss,sass,less",
"prefix": "mec",
"body": [
"@media (min-width: ${1:768px}) {",
"$CLIPBOARD\\}}$0",
]
},
"Media query max-width": {
"scope": "css,scss,sass,less",
"prefix": "mem",
"body": [
"@media (max-width: ${1:991px}) {",
"$CLIPBOARD\\}}$0",
]
},
"Media min-max": {
"scope": "css,scss,sass,less",
"prefix": "meme",
"body": [
"@media (min-width: ${1:1024px}) and (max-width: ${2:1280px}) {",
"$CLIPBOARD\\}}$0",
]
},
"Text align left": {
"scope": "css,scss,sass,less",
"prefix": "tal",
"body": [
"text-align: left;"
]
},
"Text align center": {
"scope": "css,scss,sass,less",
"prefix": "tac",
"body": [
"text-align: center;"
]
},
"Text align right": {
"scope": "css,scss,sass,less",
"prefix": "tar",
"body": [
"text-align: right;"
]
},
"Display none": {
"scope": "css,scss,sass,less",
"prefix": "dn",
"body": [
"display: none;"
]
},
"Display block": {
"scope": "css,scss,sass,less",
"prefix": "db",
"body": [
"display: block;"
]
},
"Display inline": {
"scope": "css,scss,sass,less",
"prefix": "di",
"body": [
"display: inline;"
]
},
"Display inline-block": {
"scope": "css,scss,sass,less",
"prefix": ["dib", "dbi"],
"body": [
"display: inline-block;"
]
},
"Display table": {
"scope": "css,scss,sass,less",
"prefix": "dt",
"body": [
"display: table;"
]
},
"Display table-cell": {
"scope": "css,scss,sass,less",
"prefix": "dtc",
"body": [
"display: table-cell;"
]
},
"Display table-row": {
"scope": "css,scss,sass,less",
"prefix": "dtr",
"body": [
"display: table-row;"
]
},
"Display flex": {
"scope": "css,scss,sass,less",
"prefix": "df",
"body": [
"display: flex;"
]
},
"Display inline-flex": {
"scope": "css,scss,sass,less",
"prefix": "dif",
"body": [
"display: inline-flex;"
]
},
"Text decoration underline": {
"scope": "css,scss,sass,less",
"prefix": "tdu",
"body": [
"text-decoration: underline;"
]
},
"Text decoration none": {
"scope": "css,scss,sass,less",
"prefix": "tdn",
"body": [
"text-decoration: none;"
]
},
"Position relative": {
"scope": "css,scss,sass,less",
"prefix": "por",
"body": [
"position: relative;"
]
},
"Position static": {
"scope": "css,scss,sass,less",
"prefix": "pos",
"body": [
"position: static;"
]
},
"Position absolute": {
"scope": "css,scss,sass,less",
"prefix": "poa",
"body": [
"position: absolute;",
"top: ${1:0};",
"left: ${0:0};"
]
},
"Position absolute all": {
"scope": "css,scss,sass,less",
"prefix": "poall",
"body": [
"position: absolute;",
"top: 0;",
"left: 0;",
"right: 0;",
"bottom: 0;"
]
},
"Position fixed": {
"scope": "css,scss,sass,less",
"prefix": "pof",
"body": [
"position: fixed;"
]
},
"Margin-top auto": {
"scope": "css,scss,sass,less",
"prefix": "mta",
"body": [
"margin-top: auto;"
]
},
"Margin": {
"scope": "css,scss,sass,less",
"prefix": "m",
"body": [
"margin: $0;"
]
},
"Margin auto": {
"scope": "css,scss,sass,less",
"prefix": "ma",
"body": [
"margin: auto;"
]
},
"Margin-left auto": {
"scope": "css,scss,sass,less",
"prefix": "mla",
"body": [
"margin-left: auto;"
]
},
"Margin-right auto": {
"scope": "css,scss,sass,less",
"prefix": "mra",
"body": [
"margin-right: auto;"
]
},
"Margin left/right auto": {
"scope": "css,scss,sass,less",
"prefix": ["mlra", "mrla"],
"body": [
"margin-left: auto",
"margin-right: auto;"
]
},
"Margin 0": {
"scope": "css,scss,sass,less",
"prefix": ["mo", "m0"],
"body": [
"margin: 0;"
]
},
"Margin 0 auto": {
"scope": "css,scss,sass,less",
"prefix": ["moa", "m0a"],
"body": [
"margin: 0 auto;"
]
},
"Color": {
"scope": "css,scss,sass,less",
"prefix": "c",
"body": [
"color: $0;"
]
},
"Background": {
"scope": "css,scss,sass,less",
"prefix": "bg",
"body": [
"background: $0;"
]
},
"Background color": {
"scope": "css,scss,sass,less",
"prefix": "bgc",
"body": [
"background-color: $0;"
]
},
"Background color transparent": {
"scope": "css,scss,sass,less",
"prefix": ["bgct", "bgt"],
"body": [
"background-color: transparent;"
]
},
"Background image": {
"scope": "css,scss,sass,less",
"prefix": "bgi",
"body": [
"background-image: url($0);"
]
},
"Background position": {
"scope": "css,scss,sass,less",
"prefix": "bgp",
"body": [
"background-position: $0;"
]
},
"Background repeat": {
"scope": "css,scss,sass,less",
"prefix": "bgr",
"body": [
"background-repeat: $0;"
]
},
"Background repeat no-repeat": {
"scope": "css,scss,sass,less",
"prefix": "bgrnr",
"body": [
"background-repeat: no-repeat;"
]
},
"List style none": {
"scope": "css,scss,sass,less",
"prefix": "lsn",
"body": [
"list-style: none;"
]
},
"Cursor pointer": {
"scope": "css,scss,sass,less",
"prefix": "cup",
"body": [
"cursor: pointer;"
]
},
"Cursor default": {
"scope": "css,scss,sass,less",
"prefix": "cud",
"body": [
"cursor: default;"
]
},
"Overflow hidden": {
"scope": "css,scss,sass,less",
"prefix": "oh",
"body": [
"overflow: hidden;"
]
},
"Overflow visible": {
"scope": "css,scss,sass,less",
"prefix": "ov",
"body": [
"overflow: visible;"
]
},
"Overflow auto": {
"scope": "css,scss,sass,less",
"prefix": "oa",
"body": [
"overflow: auto;"
]
},
"Overflow scroll": {
"scope": "css,scss,sass,less",
"prefix": "os",
"body": [
"overflow: scroll;"
]
},
"Width 100%": {
"scope": "css,scss,sass,less",
"prefix": "ww",
"body": [
"width: 100%;"
]
},
"Width auto": {
"scope": "css,scss,sass,less",
"prefix": "wa",
"body": [
"width: auto;"
]
},
"Height 100%": {
"scope": "css,scss,sass,less",
"prefix": "hh",
"body": [
"height: 100%;"
]
},
"Height auto": {
"scope": "css,scss,sass,less",
"prefix": "ha",
"body": [
"height: auto;"
]
},
"Width/Height equal": {
"scope": "css,scss,sass,less",
"prefix": "whe",
"body": [
"width: ${1};",
"height: $1;$0"
]
},
"Vertical align top": {
"scope": "css,scss,sass,less",
"prefix": "vat",
"body": [
"vertical-align: top;"
]
},
"Vertical align bottom": {
"scope": "css,scss,sass,less",
"prefix": "vab",
"body": [
"vertical-align: bottom;"
]
},
"Vertical align middle": {
"scope": "css,scss,sass,less",
"prefix": "vam",
"body": [
"vertical-align: middle;"
]
},
"Vertical align": {
"scope": "css,scss,sass,less",
"prefix": "va",
"body": [
"vertical-align: $0;"
]
},
"Float none": {
"scope": "css,scss,sass,less",
"prefix": "fn",
"body": [
"float: none;"
]
},
"Float left": {
"scope": "css,scss,sass,less",
"prefix": "fl",
"body": [
"float: left;"
]
},
"Float right": {
"scope": "css,scss,sass,less",
"prefix": "fr",
"body": [
"float: right;"
]
},
"Clear both": {
"scope": "css,scss,sass,less",
"prefix": "cb",
"body": [
"clear: both;"
]
},
"White space nowrap": {
"scope": "css,scss,sass,less",
"prefix": "wsn",
"body": [
"white-space: nowrap;"
]
},
"White space": {
"scope": "css,scss,sass,less",
"prefix": "ws",
"body": [
"white-space: $0;"
]
},
"Border": {
"scope": "css,scss,sass,less",
"prefix": "bd",
"body": [
"border: 1px solid $0;"
]
},
"Border none": {
"scope": "css,scss,sass,less",
"prefix": ["bn", "bdn"],
"body": [
"border: none;"
]
},
"Border top none": {
"scope": "css,scss,sass,less",
"prefix": "btn",
"body": [
"border-top: none;"
]
},
"Border right none": {
"scope": "css,scss,sass,less",
"prefix": "brn",
"body": [
"border-right: none;"
]
},
"Border bottom none": {
"scope": "css,scss,sass,less",
"prefix": "bbn",
"body": [
"border-bottom: none;"
]
},
"Border left none": {
"scope": "css,scss,sass,less",
"prefix": "bln",
"body": [
"border-left: none;"
]
},
"Content": {
"scope": "css,scss,sass,less",
"prefix": "con",
"body": [
"content: '';",
"display: block;"
]
},
"Bottom": {
"scope": "css,scss,sass,less",
"prefix": "bo",
"body": [
"bottom: $0;"
]
},
"Top left 0": {
"scope": "css,scss,sass,less",
"prefix": "tl",
"body": [
"top: 0;",
"left: 0;"
]
},
"Top right 0": {
"scope": "css,scss,sass,less",
"prefix": "tr",
"body": [
"top: 0;",
"right: 0;"
]
},
"Text transform uppercase": {
"scope": "css,scss,sass,less",
"prefix": "ttu",
"body": [
"text-transform: uppercase;"
]
},
"Text transform lowercase": {
"scope": "css,scss,sass,less",
"prefix": "ttl",
"body": [
"text-transform: lowercase;"
]
},
"Text transform none": {
"scope": "css,scss,sass,less",
"prefix": "ttn",
"body": [
"text-transform: none;"
]
},
"Transition": {
"scope": "css,scss,sass,less",
"prefix": ["trans", "trasn"],
"body": [
"transition: ${0:all} 0.3s ease;"
]
},
"Font family": {
"scope": "css,scss,sass,less",
"prefix": "ff",
"body": [
"font-family: $0;"
]
},
"Before": {
"scope": "css,scss,sass,less",
"prefix": "be",
"body": [
"&:before {",
"\t$0",
"}"
]
},
"After": {
"scope": "css,scss,sass,less",
"prefix": "af",
"body": [
"&:after {",
"\t$0",
"}"
]
},
"Hover": {
"scope": "css,scss,sass,less",
"prefix": "ho",
"body": [
"&:hover {",
"\t$0",
"}"
]
},
"Focus": {
"scope": "css,scss,sass,less",
"prefix": "fo",
"body": [
"&:focus {",
"\t$0",
"}"
]
},
"Active": {
"scope": "css,scss,sass,less",
"prefix": "ac",
"body": [
"&:active {",
"\t$0",
"}"
]
},
"First child": {
"scope": "css,scss,sass,less",
"prefix": ["fi", "fir"],
"body": [
"&:first-child {",
"\t$0",
"}"
]
},
"Last child": {
"scope": "css,scss,sass,less",
"prefix": "las",
"body": [
"&:last-child {",
"\t$0",
"}"
]
},
"Font weight normal": {
"scope": "css,scss,sass,less",
"prefix": "fwn",
"body": [
"font-weight: normal;"
],
"description": "Font weigth normal"
},
"Border radius": {
"scope": "css,scss,sass,less",
"prefix": ["bor", "bora", "borad"],
"body": [
"border-radius: ${0:50%};"
],
"description": "Border radius"
},
"clearfix": {
"scope": "css,scss,sass,less",
"prefix": "clearfix",
"body": [
".cf:before,\r",
".cf:after {\r",
"\tcontent: '';\r",
"\tdisplay: table;\r",
"}\r",
"\r",
".cf:after {\r",
"\tclear: both;\r",
"}"
],
"description": "Micro clearfix"
},
"Background size": {
"scope": "css,scss,sass,less",
"prefix": "bgs",
"body": [
"background-size: ${0:contain};"
],
"description": "Background size"
},
"Background size contain": {
"scope": "css,scss,sass,less",
"prefix": "bgscon",
"body": [
"background-size: contain;"
],
"description": "Background size"
},
"Background size cover": {
"scope": "css,scss,sass,less",
"prefix": "bgscov",
"body": [
"background-size: cover;"
],
"description": "Background size"
},
"Box sizing": {
"scope": "css,scss,sass,less",
"prefix": ["bs", "box"],
"body": [
"box-sizing: border-box;"
],
"description": "Box sizing"
},
"Current color": {
"scope": "css,scss,sass,less",
"prefix": "cc",
"body": [
"color: currentColor;"
],
"description": "Current color"
},
"Text overflow": {
"scope": "css,scss,sass,less",
"prefix": "toe",
"body": [
"overflow: hidden;",
"white-space: nowrap;",
"text-overflow: ellipsis;"
],
"description": "Text overflow"
},
"Display flex (default)": {
"scope": "css,scss,sass,less",
"prefix": "dfd",
"body": [
"display: flex;",
"align-items: center;",
"justify-content: space-between;"
],
"description": "Display flex (default)"
},
"Flex wrap wrap": {
"scope": "css,scss,sass,less",
"prefix": "fww",
"body": [
"flex-wrap: wrap;"
],
"description": "flex-wrap: wrap;"
},
"Flex wrap nowrap": {
"scope": "css,scss,sass,less",
"prefix": "fwnw",
"body": [
"flex-wrap: nowrap;"
],
"description": "flex-wrap: nowrap;"
},
"SVG background": {
"scope": "css,scss,sass,less",
"prefix": "bgsvg",
"body": [
"background-repeat: no-repeat;",
"background-position: center;",
"background-size: contain;"
],
"description": "Default bg settings for SVG"
},
"Add fancy comment": {
"scope": "css,scss,sass,less",
"prefix": "cssc",
"body": [
"/* ${1:Superb styles} */",
"",
"${0}",
"",
"/* end of $1 */",
],
"description": "Add fancy comment"
},
"Placeholder color": {
"scope": "css,scss,sass,less",
"prefix": "placeholder",
"body": [
":-ms-input-placeholder {} /* IE10-11 */",
"::-ms-input-placeholder {} /* Edge */",
"::-moz-placeholder {}",
"::placeholder {}"
],
"description": "Placeholder color"
},
"$media-sm": {
"scope": "css,scss,sass,less",
"prefix": "mesm",
"body": [
"@media (min-width: \\$media-sm) {",
"\t${0}",
"}"
]
},
"$media-md": {
"scope": "css,scss,sass,less",
"prefix": "memd",
"body": [
"@media (min-width: \\$media-md) {",
"\t${0}",
"}"
]
},
"$media-lg": {
"scope": "css,scss,sass,less",
"prefix": "melg",
"body": [
"@media (min-width: \\$media-lg) {",
"\t${0}",
"}"
]
},
"$media-xlg": {
"scope": "css,scss,sass,less",
"prefix": "mexlg",
"body": [
"@media (min-width: \\$media-xlg) {",
"\t${0}",
"}"
]
},
"Default list styles": {
"scope": "css,scss,sass,less",
"prefix":[ "listd", "dlist"],
"body": [
"margin: 0;",
"padding: 0;",
"list-style: none;"
],
"description": "Default list styles"
},
}
{
"Console.log": {
"scope": "javascript",
"prefix": ["con", "log"],
"body": [
"console.log(${0});"
],
"description": "Print console.log"
},
"Function": {
"scope": "javascript",
"prefix": "fun",
"body": [
"function $1($2) {",
"\t${0:// code...}",
"}"
],
"description": "Function"
},
"Add jQuery event listener": {
"scope": "javascript",
"prefix": "on",
"body": [
"$(document).on('${1:click}', '${2:.selector}', function () {\r",
"\t${0://code}",
"});"
],
"description": "Add jQuery event listener"
},
"Arrow function": {
"scope": "javascript, javascriptreact, typescript, typescriptreact",
"prefix": "af",
"body": [
"(${1}) => {$0}"
],
"description": "() => {}"
}
}
{
"comment": {
"prefix": "co",
"body": [
"<!-- $TM_SELECTED_TEXT -->$0"
],
"description": "Add html comment line"
},
"target blank": {
"prefix": "target",
"body": [
"target=\"_blank\" rel=\"noopener noreferrer\""
],
"description": "Add target='blank' attribute"
},
"class": {
"prefix": "cl",
"body": [
"class=\"$0\""
],
"description": "class=\"\""
},
"PHP tag": {
"prefix": "php",
"body": [
"<?php ${1:string}; ?>"
],
"description": "Add php tag"
},
"WP: Add translation key": {
"prefix": "i18n",
"body": [
"<?php _e('${1:string}', scand()->config()->name); ?>"
],
"description": "Add translation key in WP"
},
"Echo": {
"prefix": "echo",
"body": [
"<?php echo ${0:$TM_SELECTED_TEXT}; ?>"
],
"description": "Print echo"
},
"Empty": {
"prefix": "empty",
"body": [
"<?php if (!empty(${1:variable})): ?>",
"${2:$TM_SELECTED_TEXT}",
"<?php endif; ?>"
],
"description": "If not empty"
},
"Empty & Echo": {
"prefix": ["eecho", "emecho", "emptyecho"],
"body": [
"<?php if (!empty(${1:variable})): ?>",
"<?php echo $1;?>",
"<?php endif; ?>"
],
"description": "!empty & echo"
},
"foreach": {
"prefix": "fore",
"body": [
"<?php foreach (${1:\\$func['items']} as \\$item): ?>",
"${2:$TM_SELECTED_TEXT}",
"<?php endforeach; ?>"
],
"description": "foreach"
},
"vd": {
"prefix": "vd",
"body": [
"<pre><code><?php var_dump(${0:\\$var}); ?></code></pre>"
],
"description": "var_dupm"
},
"Add HTML Section": {
"prefix": "sec",
"body": [
"<section class=\"section section-$1\">",
" <div class=\"container\">",
" $0",
" </div>",
"</section>"
],
"description": "Add HTML Section"
}
}
{
// Place your snippets for javascriptreact 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 global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
}
{
/*
// 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"
}
*/
}
{
"PHP tag": {
"prefix": "php",
"body": [
"<?php ${1:string}; ?>"
],
"description": "Add php tag"
},
"WP: Add translation key": {
"prefix": "i18n",
"body": [
"<?php _e('${1:string}', scand()->config()->name); ?>"
],
"description": "Add translation key in WP"
},
"Echo": {
"prefix": "echo",
"body": [
"<?php echo ${0:$TM_SELECTED_TEXT}; ?>"
],
"description": "Print echo"
},
"Empty": {
"prefix": "empty",
"body": [
"<?php if (!empty(${1:variable})): ?>",
"${2:$TM_SELECTED_TEXT}",
"<?php endif; ?>"
],
"description": "If not empty"
},
"foreach": {
"prefix": "fore",
"body": [
"<?php foreach (${1:\\$func['items']} as \\$item): ?>",
"${2:$TM_SELECTED_TEXT}",
"<?php endforeach; ?>"
],
"description": "foreach"
},
"vd": {
"prefix": "vd",
"body": [
"<pre><code><?php var_dump(${0:\\$var}); ?></code></pre>"
],
"description": "var_dupm"
}
}
{
"Flex wrap": {
"prefix": "fww",
"body": [
"flex-wrap: wrap;"
],
"description": "flex-wrap: wrap;"
}
}
{
"Before": {
"prefix": "be",
"body": [
"&:before {",
"\t$0",
"}"
]
},
"After": {
"prefix": "af",
"body": [
"&:after {",
"\t$0",
"}"
]
},
"Hover": {
"prefix": "ho",
"body": [
"&:hover {",
"\t$0",
"}"
]
},
"Focus": {
"prefix": "fo",
"body": [
"&:focus {",
"\t$0",
"}"
]
},
"Active": {
"prefix": "ac",
"body": [
"&:active {",
"\t$0",
"}"
]
},
"First child": {
"prefix": "fi",
"body": [
"&:first-child {",
"\t$0",
"}"
]
},
"Last child": {
"prefix": "la",
"body": [
"&:last-child {",
"\t$0",
"}"
]
},
"@include media": {
"prefix": "@incl",
"body": [
"@include media-breakpoint-up(${1}) {",
"\t$0",
"}"
]
},
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. The prefix is what is
// used to trigger the snippet and the body will be expanded and inserted. Possible variables are:
// $1, $2 for tab stops, $0 for the final cursor position, and ${1:label}, ${2:another} for placeholders.
// Placeholders with the same ids are connected.
// Example:
// "Print to console": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log('$1');",
// "$2"
// ],
// "description": "Log output to console"
// }
"Translate sting": {
"prefix": "ii",
"body": [
"\n${TM_CURRENT_LINE/\\ /_/g}"
]
}
}
{"version":"7.3.0","status":2,"welcomeShown":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment