Skip to content

Instantly share code, notes, and snippets.

@technbuzz
Last active May 9, 2018 05:13
Show Gist options
  • Save technbuzz/24fc43b9ae65cb7f2a62c635fef6bfda to your computer and use it in GitHub Desktop.
Save technbuzz/24fc43b9ae65cb7f2a62c635fef6bfda to your computer and use it in GitHub Desktop.
Visual Studio Code Sync Settings Gist
{"lastUpload":"2018-05-09T05:13:51.612Z","extensionVersion":"v2.9.2"}
[
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.47"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "2.9.2"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.3.0"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.0"
},
{
"metadata": {
"id": "2e4a6a59-8d62-4ea6-99ba-09ca1fb20dca",
"publisherId": "MariusAlchimavicius.json-to-ts",
"publisherDisplayName": "MariusAlchimavicius"
},
"name": "json-to-ts",
"publisher": "MariusAlchimavicius",
"version": "1.5.5"
},
{
"metadata": {
"id": "a92d457e-6f3f-4167-8087-1a54e1b6e00e",
"publisherId": "Angular.ng-template",
"publisherDisplayName": "Angular"
},
"name": "ng-template",
"publisher": "Angular",
"version": "0.1.9"
},
{
"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": "d80b9a94-f4a6-4e39-bc42-62212e365682",
"publisherId": "pnp.polacode",
"publisherDisplayName": "pnp"
},
"name": "polacode",
"publisher": "pnp",
"version": "0.2.2"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "1.3.1"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.121"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.18.4"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "robertohuertasm.vscode-icons",
"publisherDisplayName": "robertohuertasm"
},
"name": "vscode-icons",
"publisher": "robertohuertasm",
"version": "7.23.0"
},
{
"metadata": {
"id": "c46b0018-f317-4b6c-a785-d2039b27338f",
"publisherId": "wix.vscode-import-cost",
"publisherDisplayName": "wix"
},
"name": "vscode-import-cost",
"publisher": "wix",
"version": "2.6.2"
},
{
"metadata": {
"id": "032ccf0d-9c21-43a5-8073-ae28e453ecef",
"publisherId": "whtouche.vscode-js-console-utils",
"publisherDisplayName": "whtouche"
},
"name": "vscode-js-console-utils",
"publisher": "whtouche",
"version": "0.7.0"
},
{
"metadata": {
"id": "beb68b20-7c55-471c-9b63-3486f9423566",
"publisherId": "mrmlnc.vscode-scss",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-scss",
"publisher": "mrmlnc",
"version": "0.6.2"
},
{
"metadata": {
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9",
"publisherId": "wayou.vscode-todo-highlight",
"publisherDisplayName": "wayou"
},
"name": "vscode-todo-highlight",
"publisher": "wayou",
"version": "0.5.12"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "1.2.1"
}
]
// Place your key bindings in this file to overwrite the defaults
[{
"key": "ctrl+alt+right",
"command": "editor.emmet.action.nextEditPoint",
"when": "editorFocus"
}, {
"key": "ctrl+alt+left",
"command": "editor.emmet.action.previousEditPoint",
"when": "editorFocus"
}, {
"key": "ctrl+shift+.",
"command": "editor.emmet.action.selectNextItem",
"when": "editorFocus"
}, {
"key": "ctrl+alt+,",
"command": "editor.emmet.action.selectPreviousItem",
"when": "editorFocus"
}, {
"key": "alt+w",
"command": "editor.emmet.action.wrapWithAbbreviation",
"when": "editorFocus"
},{
"key": "ctrl+shift+up",
"command":"editor.emmet.action.incrementNumberByOne",
"when": "editorFocus"
},{
"key": "ctrl+shift+down",
"command":"editor.emmet.action.decrementNumberByOne",
"when": "editorFocus"
},{
"key": "ctrl+shift+/",
"command": "editor.action.jumpToBracket",
"when": "editorTextFocus"
},
{
"key": "ctrl+alt+[",
"command": "editor.emmet.action.balanceOutward"
},
{
"key": "ctrl+alt+]",
"command": "editor.emmet.action.balanceInward"
},
{
"key": "ctrl+alt+j",
"command": "workbench.action.terminal.focus"
},
{
"key": "shift+alt+m",
"command": "editor.action.joinLines"
},
{
"key": "ctrl+shift+alt+e",
"command": "macros.toogleGoogleDev",
"when": "editorTextFocus"
},
{
"key": "ctrl+shift+alt+r",
"command": "macros.toogleGoogleProd",
"when": "editorTextFocus"
},
{
"key": "ctrl+j ctrl+up",
"command": "workbench.action.toggleMaximizedPanel"
}
]
{
"editor.fontFamily": "Fira Code",
// "editor.fontFamily": "'Operator Mono', Consolas, 'Courier New', monospace",
// "editor.fontFamily": "Inconsolata, Consolas, 'Courier New', monospace",
"editor.fontSize": 16,
"editor.fontLigatures": true,
// "editor.fontWeight": "100",
"editor.autoIndent": true,
"editor.cursorWidth": 5,
"files.autoSave": "off",
"editor.renderIndentGuides": true,
"files.exclude": {
"**/.git": true,
"node_modules":true,
"*.zip":true,
"**/.svn": true,
"**/.hg": true,
"**/.DS_Store": true,
".sass-cache":true, // node sass
"platforms": true, //Ionic
"plugins":true // Cordova Plugin - Ionic
},
"editor.tabSize": 2,
"git.enabled": true,
"editor.insertSpaces": true,
"window.zoomLevel": -1,
"editor.wordWrap": "on",
"editor.snippetSuggestions": "top",
"sync.gist": "24fc43b9ae65cb7f2a62c635fef6bfda",
"sync.lastUpload": "2018-05-09T05:13:31.411Z",
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.lastDownload": "2017-02-04T08:13:10.490Z",
"sync.version": 262,
"sync.showSummary": true,
"sync.forceDownload": false,
"sync.anonymousGist": false,
"sync.host": "",
"sync.pathPrefix": "",
"workbench.iconTheme": "vscode-icons",
"editor.occurrencesHighlight": false,
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"editor.formatOnPaste": false,
"workbench.colorTheme": "Solarized Dark",
"css.lint.zeroUnits": "warning",
"editor.cursorBlinking": "phase",
"vsicons.projectDetection.autoReload": true,
"sync.quietSync": false,
"sync.askGistName": false,
"vsicons.dontShowNewVersionMessage": true,
"editor.smoothScrolling": false,
"git.enableSmartCommit": true,
"search.useIgnoreFilesByDefault": true,
"macros": {
"toogleGoogleDev":[
"editor.action.removeCommentLine",
"cursorDown",
"editor.action.removeCommentLine",
"cursorDown",
"editor.action.addCommentLine"
],
"toogleGoogleProd":[
"editor.action.addCommentLine",
"cursorDown",
"editor.action.addCommentLine",
"cursorDown",
"editor.action.removeCommentLine"
]
},
"editor.minimap.renderCharacters": false,
"workbench.panel.location": "bottom",
"git.confirmSync": false,
"explorer.confirmDragAndDrop": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"prettier.singleQuote": true,
"npm.enableScriptExplorer": true
}
{
/*
// Place your snippets for Batch 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"
// }
"CSS web fonts": {
"scope": "css,scss",
"prefix": "@font",
"body": [
"@font-face {",
" font-family: $1;",
" src: url($1.woff) format('truetype');",
"}"
],
}
}
{
/*
// 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:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"Comments":{
"prefix": "cm",
"body": [
"/**",
"* $1",
"*/",
"$2"
],
"description": "Intructions for future reference"
},
"Center Align":{
"prefix": "cavh",
"body": [
"position:absolute;",
"top: 50%;",
"left: 50%;",
"transform: translate(-50%,-50%);"
],
"description": "Center align positioned item vertically and horizontally"
},
"Comments Block":{
"prefix": "cmb",
"body": [
"/*------------------------------------*\\",
" $1 ",
"\\*------------------------------------*/",
"$2"
],
"description": "Comments section for table of contents"
}
}
{
/*
// 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
"Button with Submit": {
"prefix": "btn",
"body": [
"<button type=\"$1\" class=\"btn $2\">$3</button>"
],
"description": "Button with Submit and basic style classes"
},
"Error Ionic":{
"prefix":"error",
"body": [
"<p *ngIf=\"$1\" text-center ion-text color=\"danger\">{{$1}}</p>"
],
"description": "Added a red paragraph error message"
},
"Spinner Ionic":{
"prefix":"spinner",
"body": [
"<div *ngIf=\"loading\" text-center padding ><ion-spinner></ion-spinner></div>"
],
"description": "Added a red paragraph error message"
}
}
{
/*
// 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "log",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
}
*/
// 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, ${id} and ${id:label} and ${1:label} for variables. Variables with the same id are connected.
// Example:
"Print to console": {
"prefix": "cl",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
},
"Generated function body":{
"prefix": "func",
"body":[
"function $1($2){",
" $3",
"}"
],
"description": "Accepts one parameter,"
},
"Add Event Listener":{
"prefix": "ael",
"body": [
".addEventListner('$1', function($2){",
" $3",
"}"
],
"description": "An anonymous function which accepts when parameter"
},
"Anonymous Function":{
"prefix": "afn",
"body": [
"function($1){",
" $2",
"}"
],
"description": "An anonymous function which accepts when parameter"
},
"getElementById":{
"prefix": "gebi",
"body":[
"var $1 = document.getElementById('$1');",
"$2"
],
"description": "DOM reference selector by Id"
}
}
{
// 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"
// }
"Error Handling ": {
"scope": "javascript,typescript",
"prefix": "ionic-error",
"body": [
"this.$1 = \"Something went wrong, please try again\";",
],
"description": "Error handling for Ionic/Angular"
},
"Log Erros to Firebase ": {
"scope": "javascript,typescript",
"prefix": "log-event",
"body": [
"// Log user action to firebase",
"this.firebaseAnalytics.logEvent('$1',{page: \"$2\"})",
".then(resp => {}).catch(error => {});",
""
],
"description": "Specify event name with params"
}
}
{
/*
// Place your snippets for Sass 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"
}
*/
"Media Query Mixin": {
"prefix": "mq",
"body": [
"@include breakpoint($1){",
" $2",
"}"
],
"description": "Includes a mixin and let us choose different media queries"
},
"Comments": {
"prefix": "cm",
"body": [
"/**",
"* $1",
"*/",
"$2"
],
"description": "Intructions for future reference"
},
"Comments Block": {
"prefix": "cmb",
"body": [
"/*------------------------------------*/",
" $1 ",
"/*------------------------------------*/",
"$2"
],
"description": "Comments section for table of contents"
}
}
{
/*
// 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"
}
*/
"expert statement":{
"prefix": "export",
"body":[
"export { $2 } from '$1'"
],
"description": "Makes the export easy, use tabs"
},
"Consume Promise":{
"prefix": "logPromise",
"body":[
".then($1=>console.log($1)).catch(error=>console.log(error))"
],
"description": "Print logs for Promise callback functions"
},
"Print to console": {
"prefix": "cl",
"body": [
"console.log('$1');",
"$2"
],
"description": "Log output to console"
},
"Generated function body":{
"prefix": "func",
"body":[
"function $1($2){",
" $3",
"}"
],
"description": "Accepts one parameter,"
},
"Add Event Listener":{
"prefix": "ael",
"body": [
".addEventListner('$1', function($2){",
" $3",
"}"
],
"description": "An anonymous function which accepts when parameter"
},
"Anonymous Function":{
"prefix": "afn",
"body": [
"function($1){",
" $2",
"}"
],
"description": "An anonymous function which accepts when parameter"
},
"getElementById":{
"prefix": "gebi",
"body":[
"var $1 = document.getElementById('$1');",
"$2"
],
"description": "DOM reference selector by Id"
}
}
{"version":"7.23.0","status":0,"welcomeShown":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment