Created
October 30, 2017 13:10
-
-
Save etiennejcharles/12588144d34805277d62bdbdd95e4eac to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2017-10-30T13:10:20.769Z","extensionVersion":"v2.8.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd", | |
"publisherId": "ac3a3342-db76-40ef-9277-4657632d3bfe", | |
"publisherDisplayName": "Shan Khan" | |
}, | |
"name": "code-settings-sync", | |
"publisher": "Shan", | |
"version": "2.8.3" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[{ | |
"key": "cmd+ctrl+s", | |
"command": "workbench.files.action.showActiveFileInExplorer", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+i", | |
"command": "editor.action.insertSnippet" | |
}, | |
{ | |
"key": "ctrl+cmd+w", | |
"command": "editor.action.toggleWordWrap" | |
}, | |
{ | |
"key": "alt+z", | |
"command": "-editor.action.toggleWordWrap" | |
}, | |
{ | |
"key": "shift+alt+r", | |
"command": "workbench.action.closeEditorsToTheRight" | |
}, | |
{ | |
"key": "ctrl+cmd+shift+j", | |
"command": "workbench.action.joinTwoGroups" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+t", | |
"command": "workbench.action.terminal.focus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+a", | |
"command": "workbench.action.focusActiveEditorGroup" | |
}, | |
{ | |
"key": "ctrl+9", | |
"command": "macros.doMySnippet" | |
}, | |
{ | |
"key": "f13", | |
"command": "git.clean" | |
}, | |
{ | |
"key": "shift+cmd+c", | |
"command": "extension.copyRelativePathOfActiveFile" | |
}, | |
{ | |
"key": "f14", | |
"command": "git.cleanAll" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+k", | |
"command": "workbench.files.action.collapseExplorerFolders" | |
}, | |
{ | |
"key": "ctrl+shift+c", | |
"command": "extension.copyRelativePathOfActiveFile" | |
}, | |
{ | |
"key": "cmd+f2", | |
"command": "fileutils.renameFile" | |
}, | |
{ | |
"key": "ctrl+shift+c", | |
"command": "stylefmt.execute" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+r", | |
"command": "workbench.debug.viewlet.action.removeAllBreakpoints" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+w", | |
"command": "workbench.action.openWorkspaceSettings" | |
}, | |
{ | |
"key": "ctrl+shift+s", | |
"command": "git.stageSelectedRanges" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "git.revertSelectedRanges" | |
}, | |
{ | |
"key": "ctrl+alt+cmd+w", | |
"command": "workbench.action.reloadWindow" | |
}, | |
{ | |
"key": "ctrl+w", | |
"command": "editor.emmet.action.wrapWithAbbreviation" | |
}, | |
{ | |
"key": "ctrl+up", | |
"command": "editor.emmet.action.incrementNumberByOne", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+down", | |
"command": "editor.emmet.action.decrementNumberByOne" | |
}, | |
{ | |
"key": "ctrl+shift+r", | |
"command": "editor.emmet.action.removeTag" | |
}, | |
{ | |
"key": "ctrl+shift+up", | |
"command": "editor.emmet.action.incrementNumberByTen" | |
}, | |
{ | |
"key": "ctrl+shift+down", | |
"command": "editor.emmet.action.decrementNumberByTen" | |
}, | |
{ | |
"key": "cmd+v", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "!editorTextFocus" | |
}, | |
{ | |
"key": "cmd+shift+v", | |
"command": "editor.action.clipboardPasteAction", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+shift+m", | |
"command": "editor.emmet.action.expandAbbreviation", | |
"when": "editorTextFocus && !editorHasSelection && !editorHasMultipleSelections && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+m", | |
"command": "editor.emmet.action.matchTag", | |
"when": "editorTextFocus && !editorHasSelection && !editorHasMultipleSelections && !editorTabMovesFocus" | |
}, | |
{ | |
"key": "ctrl+shift+cmd+e", | |
"command": "editor.debug.action.selectionToRepl" | |
}, | |
{ | |
"key": "ctrl+cmd+a", | |
"command": "editor.debug.action.selectionToWatch" | |
}, | |
{ | |
"key": "alt+,", | |
"command": "gitlens.diffWithPrevious", | |
"when": "editorTextFocus && gitlens:isTracked" | |
}, | |
{ | |
"key": "alt+,", | |
"command": "-gitlens.diffWithPrevious", | |
"when": "editorTextFocus && gitlens:isTracked" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your settings in this file to overwrite the default settings | |
{ | |
"editor.fontFamily": "Fira Code, Monaco", | |
"editor.cursorBlinking": "smooth", | |
"window.zoomLevel": 0, | |
"files.trimTrailingWhitespace": true, | |
"editor.quickSuggestionsDelay": 0, | |
"editor.renderWhitespace": "none", | |
"editor.scrollBeyondLastLine": false, | |
"vsicons.projectDetection.autoReload": true, | |
"emmet.syntaxProfiles": { | |
"javascript": "jsx" | |
}, | |
"editor.snippetSuggestions": "top", | |
"files.associations": { | |
"*.js": "javascript", | |
"*.jsbeautifyrc": "json", | |
".stylelintrc": "json", | |
"*.scss.erb": "scss", | |
"*.rake": "ruby" | |
}, | |
"editor.smoothScrolling":true, | |
"javascript.validate.enable": false, | |
"workbench.iconTheme": "vscode-icons", | |
"editor.minimap.enabled": true, | |
"vsicons.dontShowNewVersionMessage": true, | |
"workbench.colorTheme": "One Dark Pro", | |
"emmet.includeLanguages": { | |
"erb":"html" | |
}, | |
"terminal.integrated.scrollback" :3000, | |
"git.enableSmartCommit": true, | |
"php.suggest.basic": false, | |
"editor.autoIndent": true, | |
"editor.minimap.showSlider": "always", | |
"workbench.editor.enablePreview": false, | |
"sync.gist": "", | |
"sync.lastUpload": "2017-10-27T19:27:23.875Z", | |
"sync.autoDownload": true, | |
"sync.autoUpload": true, | |
"sync.lastDownload": "2017-10-30T13:05:34.040Z", | |
"sync.forceDownload": false, | |
"sync.anonymousGist": false, | |
"sync.host": "", | |
"sync.pathPrefix": "", | |
"sync.quietSync": true, | |
"sync.askGistName": false, | |
"shareCode.github.username": "etiennejcharles", | |
"shareCode.github.authtoken": "d89a8ed35698cf3e6820f3655c323d3ef2af3add", | |
"workbench.startupEditor": "newUntitledFile", | |
"beautify.language": { | |
"js": { | |
"type": [ | |
"javascript", | |
"json" | |
], | |
"filename": [ | |
".jshintrc", | |
".jsbeautifyrc" | |
] | |
// "ext": ["js", "json"] | |
// ^^ to set extensions to be beautified using the javascript beautifier | |
}, | |
"css": [ | |
"css", | |
"scss" | |
], | |
"html": [ | |
"htm", | |
"html" | |
] | |
// ^^ providing just an array sets the VS Code file type | |
}, | |
"extensions.autoUpdate": true, | |
"window.title": "${activeEditorLong}", | |
"eslint.autoFixOnSave": true, | |
"eslint.enable": true, | |
"eslint.validate": [ | |
"javascript", | |
"javascriptreact", | |
{ "language": "php", "autoFix": true }, | |
{ "language": "html", "autoFix": true } | |
], | |
"php.validate.run": "onType", | |
"php.validate.enable": true, | |
"cSpell.userWords": [ | |
"shortcode" | |
], | |
"cSpell.language": ",fr,en", | |
"html.format.preserveNewLines": false, | |
"htmlhint.documentSelector": [ | |
"html", | |
"php" | |
], | |
"scss.showErrors" : true, | |
"editor.quickSuggestions": true | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Comment section": { | |
"prefix": "comment", | |
"body": [ | |
"/**\r", | |
" * = SECTION ${1:name} \r", | |
" *\r", | |
" * ${2:Lorem ipsum dolor sit amet consectetur adipisicing elit.} \r", | |
" *\r", | |
" * ------------------------------------------------------------------------- */" | |
], | |
"description": "Comment section" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Ruby Tags": { | |
"prefix": "ror", | |
"body": [ | |
"<%= ${code} %>" | |
], | |
"description": "Ruby tags" | |
}, | |
"Debug": { | |
"prefix": "de", | |
"body": [ | |
"<%= debug ${var} %>" | |
] | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Php tags": { | |
"prefix": "php", | |
"body": [ | |
"<?php $0 ?>" | |
], | |
"description": "Php tags" | |
}, | |
"Die": { | |
"prefix": "die", | |
"body": [ | |
"<?php die(); ?>" | |
], | |
"description": "Die" | |
}, | |
"Alert in PHP": { | |
"prefix": "phpalert", | |
"body": [ | |
"<?php echo \"<script type='text/javascript'>alert('$0');</script>\"; ?>" | |
], | |
"description": "Alert in php" | |
}, | |
"If Is set var": { | |
"prefix": "phpifiset", | |
"body": [ | |
"<?php if(${var}) : ?>", | |
"<?php endif; ?>" | |
], | |
"description": "If is set" | |
}, | |
"echo": { | |
"prefix": "echo", | |
"body": [ | |
"<?php echo ${1}; ?>" | |
], | |
"description": "echo" | |
}, | |
"foreach": { | |
"prefix": "foreach", | |
"body": [ | |
"<?php foreach (\\$elements as \\$element) : ?>", | |
"\t${1}", | |
"<?php endforeach; ?>" | |
], | |
"description": "foreach" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* | |
// Place your snippets for Java 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" | |
} | |
*/ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Debugger": { | |
"prefix": "de", | |
"body": [ | |
"debugger;" | |
], | |
"description": "Debugger Statement" | |
}, | |
"Require NodeJs": { | |
"prefix": "req", | |
"body": [ | |
"const ${1:package} = require('${2:package}');" | |
], | |
"description": "NodeJs Require" | |
}, | |
"Browser Get": { | |
"prefix": "bg", | |
"body": [ | |
"browser.get('{url}');" | |
], | |
"description": "Browser Get Protractor" | |
}, | |
"IIFE": { | |
"prefix": "iife", | |
"body": [ | |
"(function(){", | |
"", | |
"})()" | |
], | |
"description": "Immediatly Invoked Function" | |
}, | |
"Protractor Element Select All": { | |
"prefix": "$$", | |
"body": [ | |
"$$('$0')" | |
], | |
"description": "Protractor Element Select All" | |
}, | |
"Protractor Element Select ": { | |
"prefix": "$", | |
"body": [ | |
"$('$0')" | |
], | |
"description": "Protractor Element Select" | |
}, | |
"Browser Pause": { | |
"prefix": "bp", | |
"body": [ | |
"browser.pause();" | |
], | |
"description": "Browser Pause" | |
}, | |
"Browser Enter Repl": { | |
"prefix": "ber", | |
"body": [ | |
"browser.enterRepl();" | |
], | |
"description": "Browser Enter Repl" | |
}, | |
"Before All": { | |
"prefix": "ba", | |
"body": [ | |
"beforeAll(() => {", | |
"\t$0", | |
"});" | |
], | |
"description": "Before All" | |
}, | |
"After All": { | |
"prefix": "aa", | |
"body": [ | |
"afterAll(() => {", | |
"\t$0", | |
"});" | |
], | |
"description": "After All" | |
}, | |
"Arrow Function": { | |
"prefix": "af", | |
"body": [ | |
"($1) => $2" | |
], | |
"description": "Arrow Function" | |
}, | |
"Return Statement": { | |
"prefix": "r", | |
"body": [ | |
"return $0" | |
], | |
"description": "Return Statement" | |
}, | |
"Browser Ignore Synchronization": { | |
"prefix": "bi", | |
"body": [ | |
"browser.ignoreSynchronization = true;" | |
], | |
"description": "Browser Ignore Synchronization" | |
}, | |
";fetch": { | |
"prefix": "Feth", | |
"body": [ | |
"const numberOfImages = 5;", | |
"const urlLvPhoto = 'https://pixabay.com/api/?key=6169398-38278bb9584aefb37214f7bec&q=yellow+flowers&image_type=photo&pretty=true&per_page';", | |
"fetch(`${urlLvPhoto}=${numberOfImages}`).then(response => response.json()).then(response => response.hits);" | |
] | |
}, | |
"Fetch": { | |
"prefix": ";fetch", | |
"body": [ | |
"const numberOfImages = 5;", | |
"const urlLvPhoto = 'https://pixabay.com/api/?key=6169398-38278bb9584aefb37214f7bec&q=yellow+flowers&image_type=photo&pretty=true&per_page';", | |
"fetch(`${urlLvPhoto}=${numberOfImages}`).then(response => response.json()).then(response => response.hits);" | |
], | |
"description": "Fetch" | |
}, | |
"setInterval": { | |
"prefix": "setInterval", | |
"body": [ | |
"setInterval(()=> {", | |
"\t$1", | |
"}, ${2:timing});" | |
], | |
"description": "setInterval" | |
}, | |
"Append Child": { | |
"prefix": "ac", | |
"body": [ | |
"appendChild($0);" | |
], | |
"description": "Append Child" | |
}, | |
"document query selector all": { | |
"prefix": "dqsa", | |
"body": [ | |
"document.querySelectorAll(${1:element})" | |
], | |
"description": "document query selector all" | |
}, | |
"Snippet creator spacing": { | |
"prefix": ";snip", | |
"body": [ | |
"\\${1:${1:name}\\}" | |
], | |
"description": "Snippet creator spacing" | |
}, | |
"Add Event Listener": { | |
"prefix": "add", | |
"body": [ | |
"addEventListener('${1:event}', ${2:callback});" | |
], | |
"description": "Add Event Listener" | |
}, | |
"Create Element": { | |
"prefix": "createEl", | |
"body": [ | |
"let element = document.createElement('${1:elementName}');", | |
"document.querySelectorAll('.${2:some-container}').appendChild(element);" | |
], | |
"description": "Create Element" | |
}, | |
"JS Random": { | |
"prefix": ";random", | |
"body": [ | |
"function getRandomInt(min, max) {", | |
" min = Math.ceil(min);", | |
" max = Math.floor(max);", | |
" return Math.floor(Math.random() * (max - min)) + min; //The maximum is exclusive and the minimum is inclusive", | |
"}" | |
], | |
"description": "Random" | |
}, | |
"Create exemple array": { | |
"prefix": "arr", | |
"body": [ | |
"var array = [1,2,3];" | |
], | |
"description": "Create exemple array" | |
}, | |
"Document query Selector": { | |
"prefix": "dqs", | |
"body": [ | |
"document.querySelector(${1:element})" | |
], | |
"description": "Document Query Selector" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* | |
// 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" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Print to console": { | |
"prefix": "die", | |
"body": [ | |
"die('Killing the process now');", | |
"$2" | |
], | |
"description": "Log output to console" | |
}, | |
"Php tag": { | |
"prefix": "php", | |
"body": [ | |
"<?php $0 ?>" | |
], | |
"description": "Php tag" | |
}, | |
"Var Dump": { | |
"prefix": "vd", | |
"body": [ | |
"var_dump($0)" | |
], | |
"description": "Var Dump" | |
}, | |
"Translated Post ID WPML": { | |
"prefix": ";wpml", | |
"body": [ | |
"global $post;", | |
"echo $post->ID;", | |
"$id = icl_object_id($id, 'page', false, ICL_LANGUAGE_CODE);" | |
], | |
"description": "Translated Post ID WPML" | |
}, | |
"Get Translated Post": { | |
"prefix": ";wpmltrans", | |
"body": [ | |
"global $post;", | |
" echo $post->ID;", | |
" $id = icl_object_id($id, 'page', false, ICL_LANGUAGE_CODE);" | |
], | |
"description": "Get Translated Post" | |
}, | |
"Alert in PHP": { | |
"prefix": "phpalert", | |
"body": [ | |
"echo \"<script type='text/javascript'>alert('$0');</script>\";" | |
], | |
"description": "Alert in php" | |
}, | |
"Snippet creator spacing": { | |
"prefix": ";snip", | |
"body": [ | |
"\\${1:${1:name}\\}" | |
], | |
"description": "Snippet creator spacing" | |
}, | |
"Function ": { | |
"prefix": "func", | |
"body": [ | |
"function ${1:name}() {", | |
"", | |
"}" | |
], | |
"description": "Function" | |
}, | |
"Debug to console": { | |
"prefix": "debug", | |
"body": [ | |
"function debug_to_console( \\$data ) {", | |
" \\$output = \\$data;", | |
" if ( is_array( \\$output ) )", | |
" \\$output = implode( ',', \\$output);", | |
"", | |
" echo \"<script>console.log( 'Debug Objects: \" . \\$output . \"' );</script>\";", | |
"}" | |
], | |
"description": "Debug to console" | |
}, | |
"Debug to console call": { | |
"prefix": "de", | |
"body": [ | |
"debug_to_console(${1:value});" | |
], | |
"description": "Debug to console call" | |
}, | |
"die": { | |
"prefix": "die", | |
"body": [ | |
"print_r('this');", | |
"die();" | |
] | |
}, | |
"ap": { | |
"prefix": "ap", | |
"body": [ | |
"array_push()" | |
] | |
}, | |
"End if": { | |
"prefix": "endif", | |
"body": [ | |
"<?php endif; ?>" | |
], | |
"description": "End if" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Print to console": { | |
"prefix": "log", | |
"body": [ | |
"console.log('$1');", | |
"$2" | |
], | |
"description": "Log output to console" | |
}, | |
"Snippet creator spacing": { | |
"prefix": ";snip", | |
"body": [ | |
"\\${1:${1:name}\\}" | |
], | |
"description": "Snippet creator spacing" | |
}, | |
"Background red ": { | |
"prefix": "bgr", | |
"body": [ | |
"background:red;" | |
], | |
"description": "Background red" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Snippet": { | |
"prefix": "ror", | |
"body": [ | |
"<%= ${code} %>" | |
], | |
"description": "Ruby" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"Include": { | |
"prefix": "@i", | |
"body": [ | |
"@include " | |
], | |
"description": "Include" | |
}, | |
"Letter Spacing": { | |
"prefix": "lp", | |
"body": [ | |
"letter-spacing: " | |
], | |
"description": "Letter Spacing" | |
}, | |
"Hover": { | |
"prefix": "hover", | |
"body": [ | |
"&:hover {", | |
"\t${1}", | |
"}" | |
], | |
"description": "Hover" | |
}, | |
"Media Breakpoint Up": { | |
"prefix": "mbu", | |
"body": [ | |
"@include media-breakpoint-up(${1:sm}) {", | |
"\t${2}", | |
"}" | |
], | |
"description": "Media Breakpoint Up" | |
}, | |
"Media Breakpoint Down": { | |
"prefix": "mbd", | |
"body": [ | |
"@include media-breakpoint-down(${1:sm}) {", | |
"\t${2}", | |
"}" | |
], | |
"description": "Media Breakpoint Down" | |
}, | |
"Color Black": { | |
"prefix": "cb", | |
"body": [ | |
"color: black;" | |
], | |
"description": "Color Black" | |
}, | |
"Color White": { | |
"prefix": "cw", | |
"body": [ | |
"color: white;" | |
], | |
"description": "Color Black" | |
}, | |
"Background Color Black": { | |
"prefix": "bgcb", | |
"body": [ | |
"background-color:black;" | |
], | |
"description": "Background Color Black" | |
}, | |
"Background Red": { | |
"prefix": "bgr", | |
"body": [ | |
"background-color:red;" | |
], | |
"description": "Background Red" | |
}, | |
"mbum": { | |
"prefix": "mbum", | |
"body": [ | |
"@include media-breakpoint-up(md) {", | |
"\t${1}", | |
"}" | |
], | |
"description": "mbum" | |
}, | |
"mbul": { | |
"prefix": "mbul", | |
"body": [ | |
"@include media-breakpoint-up(lg) {", | |
"\t${1}", | |
"}" | |
], | |
"description": "mbum" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 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": "ng2-component-template", | |
"body": [ | |
"import { Component, OnInit } from '@angular/core';", | |
"", | |
"@Component({", | |
" selector: 'selector$1',", | |
" template: `", | |
" $2", | |
" `", | |
"})", | |
"export class $3Component implements OnInit {", | |
" constructor($4) { }", | |
"", | |
" ngOnInit() { $5 }", | |
"}", | |
"", | |
], | |
"description": "Creates an angular 2 template component" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"version":"7.16.0","status":0,"welcomeShown":true} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment