Skip to content

Instantly share code, notes, and snippets.

@billyma128
Last active February 5, 2020 09:01
Show Gist options
  • Save billyma128/5ea2d62fc730d73ec9c2b0806aac36bd to your computer and use it in GitHub Desktop.
Save billyma128/5ea2d62fc730d73ec9c2b0806aac36bd to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-02-05T09:01:09.961Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "d10af6bf-270f-4cf0-b94b-1bea4bda1e2e",
"publisherId": "nrwl.angular-console",
"publisherDisplayName": "nrwl"
},
"name": "angular-console",
"publisher": "nrwl",
"version": "10.0.0"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.1"
},
{
"metadata": {
"id": "f583eafd-aa0d-4ccb-8f44-d1e610389660",
"publisherId": "CoenraadS.bracket-pair-colorizer",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer",
"publisher": "CoenraadS",
"version": "1.0.61"
},
{
"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": "f6dbd813-b0a0-42c1-90ea-10dde9d925a7",
"publisherId": "streetsidesoftware.code-spell-checker",
"publisherDisplayName": "streetsidesoftware"
},
"name": "code-spell-checker",
"publisher": "streetsidesoftware",
"version": "1.7.22"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.6"
},
{
"metadata": {
"id": "dd9d63a9-d9bd-435a-86a2-24e709720a16",
"publisherId": "docsmsft.docs-article-templates",
"publisherDisplayName": "docsmsft"
},
"name": "docs-article-templates",
"publisher": "docsmsft",
"version": "0.2.7"
},
{
"metadata": {
"id": "d74a1e64-791f-4c6a-a7f5-91095e3dce6e",
"publisherId": "docsmsft.docs-authoring-pack",
"publisherDisplayName": "docsmsft"
},
"name": "docs-authoring-pack",
"publisher": "docsmsft",
"version": "0.1.6"
},
{
"metadata": {
"id": "531c9642-a2f9-4dae-a784-67d25324502e",
"publisherId": "docsmsft.docs-images",
"publisherDisplayName": "docsmsft"
},
"name": "docs-images",
"publisher": "docsmsft",
"version": "0.0.4"
},
{
"metadata": {
"id": "9acd9f2e-7de2-4c66-a840-92767af1cb16",
"publisherId": "docsmsft.docs-markdown",
"publisherDisplayName": "docsmsft"
},
"name": "docs-markdown",
"publisher": "docsmsft",
"version": "0.2.44"
},
{
"metadata": {
"id": "e79662d7-3e86-4c14-adc9-1b8f1595f414",
"publisherId": "docsmsft.docs-metadata",
"publisherDisplayName": "docsmsft"
},
"name": "docs-metadata",
"publisher": "docsmsft",
"version": "1.0.4"
},
{
"metadata": {
"id": "de68ef52-c4dc-442f-b4d2-64ee29729c37",
"publisherId": "docsmsft.docs-preview",
"publisherDisplayName": "docsmsft"
},
"name": "docs-preview",
"publisher": "docsmsft",
"version": "0.3.38"
},
{
"metadata": {
"id": "f6bcef79-211f-4454-8020-2d5b6ee9fd9a",
"publisherId": "docsmsft.docs-yaml",
"publisherDisplayName": "docsmsft"
},
"name": "docs-yaml",
"publisher": "docsmsft",
"version": "0.2.4"
},
{
"metadata": {
"id": "532533c9-a894-4a58-9eee-bbfbe7c06f71",
"publisherId": "mikestead.dotenv",
"publisherDisplayName": "mikestead"
},
"name": "dotenv",
"publisher": "mikestead",
"version": "1.0.1"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.14.4"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.0"
},
{
"metadata": {
"id": "e8b51638-d159-4227-9912-b93eb80df615",
"publisherId": "blackmist.LinkCheckMD",
"publisherDisplayName": "blackmist"
},
"name": "LinkCheckMD",
"publisher": "blackmist",
"version": "0.3.1"
},
{
"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": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "3.20.0"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.23.0"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.12.4"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.0.15"
},
{
"metadata": {
"id": "55ef6448-487b-49a0-a66e-4d2d9bb82229",
"publisherId": "Prisma.vscode-graphql",
"publisherDisplayName": "Prisma"
},
"name": "vscode-graphql",
"publisher": "Prisma",
"version": "0.2.2"
},
{
"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.7.0"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.34.0"
},
{
"metadata": {
"id": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8",
"publisherId": "zxh404.vscode-proto3",
"publisherDisplayName": "zxh404"
},
"name": "vscode-proto3",
"publisher": "zxh404",
"version": "0.4.0"
},
{
"metadata": {
"id": "df9070f0-77d4-4333-a6cd-c4f73b99385c",
"publisherId": "plex.vscode-protolint",
"publisherDisplayName": "plex"
},
"name": "vscode-protolint",
"publisher": "plex",
"version": "0.2.0"
},
{
"metadata": {
"id": "90a37ca1-92a2-488a-b196-7a8c0b0127ea",
"publisherId": "ms-vscode.vscode-typescript-tslint-plugin",
"publisherDisplayName": "ms-vscode"
},
"name": "vscode-typescript-tslint-plugin",
"publisher": "ms-vscode",
"version": "1.2.3"
},
{
"metadata": {
"id": "07fc4a0a-11fc-4121-ba9a-f0d534c729d8",
"publisherId": "pflannery.vscode-versionlens",
"publisherDisplayName": "pflannery"
},
"name": "vscode-versionlens",
"publisher": "pflannery",
"version": "0.24.0"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.6.1"
}
]
{
// 定义 VSCode 的显示语言。
// 请参阅 https://go.microsoft.com/fwlink/?LinkId=761051,了解支持的语言列表。
// 更改此值需要重启 VSCode。
"locale":"en"
}
{
"window.zoomLevel": 0,
"files.associations": {
"*.wpy": "vue",
"*.wxss": "css",
"**/src/views/**/*.js": "javascriptreact",
"**/src/components/**/*.js": "javascriptreact",
"**/src/index.js": "javascriptreact",
"**/src/routes.js": "javascriptreact",
"*.cjson": "jsonc",
"*.wxs": "javascript",
"*.prisma": "graphql"
},
"editor.formatOnSave": true,
"prettier.semi": false,
"prettier.singleQuote": true,
"prettier.trailingComma": "all",
"prettier.bracketSpacing": true,
"prettier.disableLanguages": [
"vue",
"yaml",
"json"
],
"prettier-eslint.eslintIntegration": true,
"stylelint.enable": true,
"css.validate": true,
"scss.validate": true,
"gitlens.keymap": "alternate",
"files.exclude": {
"**/.git": true,
"**/.svn": true,
"**/.hg": true,
"**/CVS": true,
"**/.DS_Store": true,
"**/node_modules": false,
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"files.watcherExclude": {
"**/.git/objects/**": true,
"**/.git/subtree-cache/**": true,
"**/node_modules/**": true,
"**/tmp/**": true,
"**/bower_components/**": true,
"**/dist/**": true
},
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": false,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true
},
"emmet.includeLanguages": {
"wxml": "html"
},
"breadcrumbs.enabled": true,
"typescript.updateImportsOnFileMove.enabled": "never",
"javascript.updateImportsOnFileMove.enabled": "never",
"gitlens.views.fileHistory.enabled": true,
"gitlens.views.lineHistory.enabled": true,
"eslint.packageManager": "yarn",
"javascript.implicitProjectConfig.experimentalDecorators": true,
"sync.gist": "5ea2d62fc730d73ec9c2b0806aac36bd",
"vim.insertModeKeyBindings": [
{
"before": [
"j",
"k"
],
"after": [
"<esc>"
]
}
],
"editor.fontSize": 12,
"[javascript]": {
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[javascriptreact]": {
"editor.tabSize": 2
},
"[typescriptreact]": {
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[typescript]": {
"editor.tabSize": 2,
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[graphql]": {
"editor.tabSize": 2
},
"editor.minimap.enabled": false,
"explorer.confirmDragAndDrop": false,
"workbench.statusBar.feedback.visible": false,
"workbench.editor.labelFormat": "short",
"workbench.editor.showTabs": true,
"emmet.excludeLanguages": [
"typescript",
"typescriptreact",
"javascript"
],
"files.trimTrailingWhitespace": true,
"workbench.startupEditor": "welcomePage",
"typescript.surveys.enabled": false,
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
"typescript.preferences.importModuleSpecifier": "relative",
"sync.autoUpload": true,
"workbench.colorTheme": "Default High Contrast",
"workbench.colorCustomizations": {
"activityBarBadge.background": "#616161",
"list.activeSelectionForeground": "#616161",
"list.inactiveSelectionForeground": "#616161",
"list.highlightForeground": "#616161",
"scrollbarSlider.activeBackground": "#61616150",
"editorSuggestWidget.highlightForeground": "#616161",
"textLink.foreground": "#616161",
"progressBar.background": "#616161",
"pickerGroup.foreground": "#616161",
"tab.activeBorder": "#616161",
"notificationLink.foreground": "#616161",
"editorWidget.resizeBorder": "#616161",
"editorWidget.border": "#616161",
"settings.modifiedItemIndicator": "#616161",
"settings.headerForeground": "#616161",
"panelTitle.activeBorder": "#616161",
"breadcrumb.activeSelectionForeground": "#616161",
"menu.selectionForeground": "#616161",
"menubar.selectionForeground": "#616161"
},
"materialTheme.accent": "Graphite",
"git.autofetch": true,
"minapp-vscode.disableAutoConfig": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.iconTheme": "vscode-icons",
"eslint.alwaysShowStatus": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact"
],
"markdownlint.customRules": [
"{docsmsft.docs-markdown}/markdownlint-custom-rules/rules.js"
],
"markdownlint.config": {
"MD025": {
"front_matter_title": ""
}
},
"yaml.schemas": {
"file:///Users/billy/.vscode-insiders/extensions/docsmsft.docs-yaml-0.2.4/schemas/toc.schema.json": "/toc\\.yml/i"
},
"scf.python3.path": "",
"scf.python2.path": "",
"scf.deploy.cos": false
}
{
// 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": "lg",
"body": [
"console.log($1)"
],
"description": "Log output to console"
}
}
{
/*
// 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"
}
*/
"React Native Stateless Functional Component Skeleton": {
"prefix": "rnccf",
"body": "import React from 'react';\nimport PropTypes from 'prop-types';\nimport { View, StyleSheet, Text } from 'react-native';\n\n${1:${FileName}}.propTypes = {\n\n}\n\nexport default function ${1:${FileName}} (props) {\n\treturn (\n\t\t<View>\n\t\t\t<Text>\n\t\t\t\t$1\n\t\t\t</Text>\n\t\t</View>\n\t)\n}\n\nconst styles = StyleSheet.create({\n\n})\n",
"description": "React Native Stateless Functional Component Skeleton"
},
"React Native Statefull Component": {
"prefix": "rnccs",
"body":"import React, { Component } from 'react';\nimport PropTypes from 'prop-types';\nimport { View, Text } from 'react-native';\n\nexport default class $1 extends Component {\n\tstatic propTypes = {}\n\tstate = {}\n\trender() {\n\t\treturn (\n\t\t\t<View>\n\t\t\t\t<Text>\n\t\t\t\t\t$2\n\t\t\t\t</Text>\n\t\t\t</View>\n\t\t)\n\t}\n}\n",
"description": "React Native Statefull Component"
}
}
{
// 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"
},
"Type GraphQL Resolver": {
"prefix": "resolver",
"body": [
"import { Resolver } from \"type-graphql\";",
"",
"@Resolver()",
"export class $1Resolver {",
" @$2()",
" async $3() {}",
"}"
],
"description": "TypeGraphQL Resolver"
}
}
{
// Place your snippets for typescriptreact 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:
"Typescript React PureComponent": {
"prefix": "rpc",
"body": [
"import * as React from 'react'",
"",
"export class $1 extends React.PureComponent {",
"\trender() {",
"\t\treturn ($2);",
"}}"
],
"description": "Typescript React PureComponent"
},
"Typescript React Function Component": {
"prefix": "rh",
"body": [
"import * as React from 'react'",
"",
"interface Props {",
"",
"}",
"",
"export const $1: React.FC<Props> = () => {",
"\t\treturn ($2);",
"}"
],
"description": "Typescript React Function Component"
},
"React Native StyleSheet": {
"prefix": "rnss",
"body": [
"import {StyleSheet} from 'react-native'",
"const styles = StyleSheet.create({",
"",
"});"
],
"description": "React Native StyleSheet"
},
"Toggle State": {
"prefix": "tog",
"body": [
"this.setState(state => ({",
"\topen: !state.open",
"}));"
],
"description": "toggle state"
},
"Apollo Query Component": {
"prefix": "apq",
"body": [
"interface Props {",
" children: (data: QueryResult<$1, OperationVariables>) => JSX.Element;",
"}",
"",
"export class $2 extends React.PureComponent<Props> {",
" render() {",
" return (",
" <Query<$1> query={$3}>{x => this.props.children(x)}</Query>",
" );",
" }",
"}"
],
"description": "Apollo Query Component"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment