Skip to content

Instantly share code, notes, and snippets.

@JoeRoddy
Last active July 30, 2019 21:00
Show Gist options
  • Save JoeRoddy/37d8ae46b8245f66e60c3a34c36020f0 to your computer and use it in GitHub Desktop.
Save JoeRoddy/37d8ae46b8245f66e60c3a34c36020f0 to your computer and use it in GitHub Desktop.
vscode-settings-sync
{"lastUpload":"2019-07-30T20:59:58.821Z","extensionVersion":"v3.4.1"}
[
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.4.1"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.11.6"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.Material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "Material-theme",
"publisher": "zhuangtongfa",
"version": "2.26.0"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "1.9.0"
},
{
"metadata": {
"id": "ee108066-df8b-43ae-9a83-e6c11400a759",
"publisherId": "jasonnutter.search-node-modules",
"publisherDisplayName": "jasonnutter"
},
"name": "search-node-modules",
"publisher": "jasonnutter",
"version": "1.3.0"
},
{
"metadata": {
"id": "37d7747f-e652-4eac-83de-f2939f7e2121",
"publisherId": "anseki.vscode-color",
"publisherDisplayName": "anseki"
},
"name": "vscode-color",
"publisher": "anseki",
"version": "0.4.5"
},
{
"metadata": {
"id": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a",
"publisherId": "vscode-icons-team.vscode-icons",
"publisherDisplayName": "vscode-icons-team"
},
"name": "vscode-icons",
"publisher": "vscode-icons-team",
"version": "9.1.0"
},
{
"metadata": {
"id": "97a08c5f-6667-4242-a5c5-045dfb6bd4b9",
"publisherId": "wayou.vscode-todo-highlight",
"publisherDisplayName": "wayou"
},
"name": "vscode-todo-highlight",
"publisher": "wayou",
"version": "1.0.4"
}
]
[
{
"key": "ctrl+shift+l",
"command": "editor.action.formatDocument",
"when": "editorHasDocumentFormattingProvider && editorTextFocus && !editorReadonly"
},
{
"key": "ctrl+l",
"command": "editor.action.insertSnippet",
"args": {
"name": "Print to console"
}
},
{
"key": "ctrl+shift+1",
"command": "editor.action.insertSnippet",
"args": {
"name": "ClassComponent"
}
},
{
"key": "ctrl+shift+2",
"command": "editor.action.insertSnippet",
"args": {
"name": "FunctionalComponent"
}
},
{
"key": "ctrl+shift+b",
"command": "editor.action.insertSnippet",
"args": {
"name": "Button"
}
},
{
"key": "ctrl+shift+v",
"command": "editor.action.insertSnippet",
"args": {
"name": "View"
}
},
{
"key": "ctrl+shift+t",
"command": "editor.action.insertSnippet",
"args": {
"name": "Text"
}
},
{
"key": "ctrl+shift+i",
"command": "editor.action.insertSnippet",
"args": {
"name": "Input"
}
}
]
{
"workbench.iconTheme": "vscode-icons",
"workbench.colorTheme": "One Dark Pro Bold",
"window.zoomLevel": 0,
"git.autofetch": true,
"editor.minimap.maxColumn": 120,
"editor.wordWrapColumn": 80,
"vsicons.projectDetection.autoReload": true,
"git.enableSmartCommit": true,
"vsicons.dontShowNewVersionMessage": true,
"search.exclude": {
"*.css": true,
"**/android": true,
"**/bower_components": true,
"**/build": true,
"**/ios": true,
"**/node_modules": true
},
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"*.css": true,
"mobile/src/stores": true,
"mobile/src/db": true,
"mobile/src/.combust": true,
"web/src/stores": true,
"web/src/db": true,
"web/src/.combust": true
},
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.formatOnSave": true,
"workbench.startupEditor": "welcomePage",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"sync.gist": "37d8ae46b8245f66e60c3a34c36020f0"
}
{
// 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"
// }
}
{
// 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, $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"
},
"Text": {
"prefix": "text",
"body": [
"<Text>$1</Text>",
"$2"
],
"description": "Create RN.Text element"
},
"View": {
"prefix": "view",
"body": [
"<View>$1</View>",
"$2"
],
"description": "Create RN.View element"
},
"Button": {
"prefix": "button",
"body": [
"<Button title='$1' onPress={()=>{}}/>",
"$2"
],
"description": "Create RN.Button element"
}
}
{
// 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, $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"
},
"View": {
"prefix": "div",
"body": ["<div className='$2'>$1</div>", "$3"],
"description": "Create div element"
},
"Button": {
"prefix": "button",
"body": ["<button className='$3' onClick={$2}>$1</button>", "$4"],
"description": "Create button element"
},
"Input": {
"prefix": "input",
"body": [
"<input type=\"text\" className=\"$3\" onChange={e=>$2} value={$1}/>",
"$4"
]
},
"Text": {
"prefix": "span",
"body": ["<span>$1</span>", "$2"],
"description": "Create span element"
},
"ClassComponent": {
"prefix": "rcl",
"body": [
"import React, { Component } from \"react\";",
"import { observer } from \"mobx-react\";",
"\n@observer",
"class ${1:Name} extends Component {",
"\tstate = {};",
"\n\trender() {",
"\t\treturn (",
"\t\t\t$2",
"\t\t);",
"\t}",
"}",
"\nexport default ${1:Name};"
],
"description": "Create react class component"
},
"FunctionalComponent": {
"prefix": "rfn",
"body": [
"import React from \"react\";",
"\nconst ${1:Name} = ({ $2 }) => {",
"\treturn (",
"\t\t$3",
"\t);",
"};",
"\nexport default ${1:Name};"
],
"description": "Create react functional component"
},
"Promise": {
"prefix": "prom",
"body": ["new Promise((resolve,reject)=>{", "\t$1", "});", "$2"],
"description": "Create new promise"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment