Skip to content

Instantly share code, notes, and snippets.

@andrewmartin
Last active January 20, 2019 23:04
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewmartin/9740ad12c9d38fff3ae57e24d2aa66d0 to your computer and use it in GitHub Desktop.
Save andrewmartin/9740ad12c9d38fff3ae57e24d2aa66d0 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2019-01-20T23:04:39.991Z","extensionVersion":"v3.2.4"}
[
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.4"
}
]
// Place your key bindings in this file to overwrite the defaults
[
{
"key": "ctrl+alt+shift+r",
"command": "workbench.action.reloadWindow"
},
{
"key": "alt+z",
"command": "-editor.action.toggleWordWrap"
},
{
"key": "ctrl+shift+alt+w",
"command": "editor.emmet.action.wrapWithAbbreviation"
},
{
"key": "shift+cmd+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
{
"key": "tab",
"command": "-acceptSelectedSuggestion",
"when": "editorTextFocus && suggestWidgetVisible"
},
{
"key": "cmd+1",
"command": "-workbench.action.openEditorAtIndex1"
},
{
"key": "cmd+1",
"command": "-explorer.openToSide",
"when": "filesExplorerFocus"
},
{
"key": "cmd+2",
"command": "-workbench.action.openEditorAtIndex2"
},
{
"key": "shift+cmd+r",
"command": "workbench.files.action.showActiveFileInExplorer"
},
{
"key": "alt+cmd+\\",
"command": "-workbench.files.action.showActiveFileInExplorer"
},
{
"key": "shift+cmd+e",
"command": "workbench.files.action.focusFilesExplorer"
},
{
"key": "alt+cmd+r",
"command": "-revealFileInOS",
"when": "explorerViewletFocus && explorerViewletVisible"
},
{
"key": "alt+cmd+r",
"command": "workbench.action.files.revealActiveFileInWindows"
},
{
"key": "cmd+k r",
"command": "-workbench.action.files.revealActiveFileInWindows"
},
{
"key": "ctrl+shift+t",
"command": "terminalTabs.createTerminal"
},
{
"key": "ctrl+shift+1",
"command": "terminalTabs.showTerminal1"
},
{
"key": "ctrl+shift+2",
"command": "terminalTabs.showTerminal2"
},
{
"key": "ctrl+shift+cmd+p",
"command": "workbench.action.togglePanel"
},
{
"key": "cmd+j",
"command": "-workbench.action.togglePanel"
}
]
{
"name": "material-icon-theme",
"version": "2.1.0"
}
{
"editor.tabSize": 2,
"[javascript]": {
"editor.formatOnSave": true
},
"[jsx]": {
"editor.formatOnSave": false
},
"[php]": {
"editor.formatOnSave": false
},
"[scss]": {
"editor.formatOnSave": false,
"editor.formatOnType": false
},
"[sass]": {
"editor.formatOnSave": false,
"editor.formatOnType": false
},
"beautify.language": {
"css": ["css"],
"html": ["htm", "html", "php"]
},
"beautify.config": {
"indent_size": 2,
"indent_char": " ",
"css": {
"indent_size": 2
}
},
"editor.cursorStyle": "line",
"editor.detectIndentation": false,
"editor.fontFamily": "Hack",
"editor.fontSize": 14,
"terminal.integrated.fontSize": 14,
"terminal.integrated.lineHeight": 1.5,
"terminal.integrated.fontFamily": "Hack",
"editor.formatOnSave": true,
"editor.insertSpaces": true,
"editor.lineHeight": 25,
"editor.renderIndentGuides": true,
"editor.renderWhitespace": "all",
"editor.scrollBeyondLastLine": false,
"editor.wordWrap": "bounded",
"emmet.syntaxProfiles": {
"javascript": "jsx",
"xml": {
"attr_quotes": "single"
}
},
"eslint.autoFixOnSave": true,
// "eslint.run": "onSave",
"extensions.autoUpdate": true,
"files.associations": {
"*.js": "javascriptreact",
"*.jsx": "javascriptreact",
".eslintrc": "yaml"
},
"files.exclude": {
"**/*.map": true,
"**/.DS_Store": true,
"**/.git": true,
"**/.hg": true,
"**/.svn": true,
"./dist": true,
"node_modules": true
},
"files.trimTrailingWhitespace": true,
"window.zoomLevel": 0,
"workbench.activityBar.visible": false,
"workbench.colorTheme": "Tomorrow Night Bright",
"workbench.editor.showTabs": false,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": false
},
"editor.parameterHints": false,
"vsicons.dontShowNewVersionMessage": true,
"editor.minimap.enabled": false,
"typescript.check.npmIsInstalled": false,
"editor.trimAutoWhitespace": true,
"git.enableSmartCommit": true,
"editor.lineNumbers": "on",
"atomKeymap.promptV3Features": true,
"editor.multiCursorModifier": "ctrlCmd",
"emmet.showAbbreviationSuggestions": false,
"emmet.triggerExpansionOnTab": true,
"sync.gist": "9740ad12c9d38fff3ae57e24d2aa66d0",
"sync.lastUpload": "2018-08-10T17:13:30.953Z",
"sync.autoDownload": true,
"sync.autoUpload": false,
"sync.lastDownload": "",
"sync.forceDownload": true,
"sync.host": "",
"sync.pathPrefix": "",
"sync.quietSync": true,
"sync.askGistName": false,
"csscomb.preset": "~/.csscomb.json",
"material-icon-theme.showUpdateMessage": false,
"workbench.iconTheme": "vscode-icons",
"explorer.autoReveal": false,
"vsicons.projectDetection.autoReload": true,
"git.autofetch": true,
"javascript.updateImportsOnFileMove.enabled": "never",
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"mssql.format.placeSelectStatementReferencesOnNewLine": true,
"typescript.format.placeOpenBraceOnNewLineForControlBlocks": true,
"prettier.printWidth": 120,
"prettier.singleQuote": true,
"scss.showErrors": true,
"csscomb.formatOnSave": true,
"files.autoSave": "onFocusChange"
}
{
/*
// Place your snippets for Javascript (Babel) 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"
}
*/
"Const Shorthand": {
"prefix": "cn",
"body": [
"const {\n\t\t$0\n} = ${2:this.props};"
],
"description": "Const shorthand"
},
"Console Log": {
"prefix": "clog",
"body": [
"console.log($0)",
],
"description": "Const shorthand"
}
}
{
/*
// Place your snippets for JavaScript React 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"
}
*/
"Const Shorthand": {
"prefix": "cn",
"body": [
"const {\n\t\t$0\n} = ${2:this.props};"
],
"description": "Const shorthand"
},
"Lyft Translate Snippet": {
"prefix": "t",
"body": [
"_t($1, '$2')",
],
"description": "Lyft Translate Snippet"
}
}
{"version":"7.27.0","status":0,"welcomeShown":true}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment