Skip to content

Instantly share code, notes, and snippets.

@sumaolin
Last active January 21, 2020 09:02
Show Gist options
  • Save sumaolin/8c58eb6fffbca6f0c6e73575eba90b76 to your computer and use it in GitHub Desktop.
Save sumaolin/8c58eb6fffbca6f0c6e73575eba90b76 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2020-01-21T09:02:11.893Z","extensionVersion":"v3.2.4"}
[
{
"metadata": {
"id": "2e9fe0cb-4e63-42fc-a809-fb056aad49c3",
"publisherId": "stevencl.addDocComments",
"publisherDisplayName": "stevencl"
},
"name": "addDocComments",
"publisher": "stevencl",
"version": "0.0.8"
},
{
"metadata": {
"id": "e337c67b-55c2-4fef-8949-eb260e7fb7fd",
"publisherId": "Shan.code-settings-sync",
"publisherDisplayName": "Shan"
},
"name": "code-settings-sync",
"publisher": "Shan",
"version": "3.2.4"
},
{
"metadata": {
"id": "f60a60a6-95ba-42d4-b41c-3d24c1b89588",
"publisherId": "EditorConfig.EditorConfig",
"publisherDisplayName": "EditorConfig"
},
"name": "EditorConfig",
"publisher": "EditorConfig",
"version": "0.12.6"
},
{
"metadata": {
"id": "290c5f3f-fc96-451e-ba22-0b17cb2dac8a",
"publisherId": "QassimFarid.ejs-language-support",
"publisherDisplayName": "QassimFarid"
},
"name": "ejs-language-support",
"publisher": "QassimFarid",
"version": "0.0.1"
},
{
"metadata": {
"id": "19804510-b475-4dae-b0f7-6ca08fd1af0c",
"publisherId": "dsznajder.es7-react-js-snippets",
"publisherDisplayName": "dsznajder"
},
"name": "es7-react-js-snippets",
"publisher": "dsznajder",
"version": "2.5.0"
},
{
"metadata": {
"id": "2bba45f2-4a48-41a6-bb86-d6ba5ab29a9f",
"publisherId": "felipecaputo.git-project-manager",
"publisherDisplayName": "felipecaputo"
},
"name": "git-project-manager",
"publisher": "felipecaputo",
"version": "1.7.1"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.4.6"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "8.5.6"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.Material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "Material-theme",
"publisher": "zhuangtongfa",
"version": "2.28.3"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "2.2.2"
},
{
"metadata": {
"id": "68dce6ec-145e-4dca-840e-c57ad5e3621e",
"publisherId": "renkun.reader",
"publisherDisplayName": "renkun"
},
"name": "reader",
"publisher": "renkun",
"version": "1.1.6"
},
{
"metadata": {
"id": "d6ba4b7b-539f-456a-b0f6-0348df44cdf3",
"publisherId": "nikitaKunevich.snippet-creator",
"publisherDisplayName": "nikitaKunevich"
},
"name": "snippet-creator",
"publisher": "nikitaKunevich",
"version": "0.0.5"
},
{
"metadata": {
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4",
"publisherId": "ms-vscode.sublime-keybindings",
"publisherDisplayName": "ms-vscode"
},
"name": "sublime-keybindings",
"publisher": "ms-vscode",
"version": "4.0.6"
},
{
"metadata": {
"id": "17af32f0-893e-41df-977c-a369aafc8732",
"publisherId": "lizheming.thinkjs-snippets",
"publisherDisplayName": "lizheming"
},
"name": "thinkjs-snippets",
"publisher": "lizheming",
"version": "0.1.0"
},
{
"metadata": {
"id": "715aa284-6075-4de1-bd19-61f1b214683a",
"publisherId": "abotteram.typescript-react-snippets",
"publisherDisplayName": "abotteram"
},
"name": "typescript-react-snippets",
"publisher": "abotteram",
"version": "0.2.0"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.17.1"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "1.7.2"
},
{
"metadata": {
"id": "b3abc059-1ff4-4741-b367-1c9fe6c15855",
"publisherId": "mikey.vscode-fileheader",
"publisherDisplayName": "mikey"
},
"name": "vscode-fileheader",
"publisher": "mikey",
"version": "0.0.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": "69ddd764-339a-4ecc-97c1-9c4ece58e36d",
"publisherId": "GitHub.vscode-pull-request-github",
"publisherDisplayName": "GitHub"
},
"name": "vscode-pull-request-github",
"publisher": "GitHub",
"version": "0.2.3"
},
{
"metadata": {
"id": "0d340cae-c1a3-444d-88f1-131e3b840fbb",
"publisherId": "ZeroX-DG.vscode-snippetstore",
"publisherDisplayName": "ZeroX-DG"
},
"name": "vscode-snippetstore",
"publisher": "ZeroX-DG",
"version": "0.1.0"
},
{
"metadata": {
"id": "d6053496-966e-454c-baee-e8588824000f",
"publisherId": "crper.vscode-taro-snippets",
"publisherDisplayName": "crper"
},
"name": "vscode-taro-snippets",
"publisher": "crper",
"version": "0.0.4"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "2.0.9"
}
]
{
"key": "ctrl+j",
"command": "workbench.view.debug",
"when": "editorTextFocus"
}// Place your key bindings in this file to overwrite the defaults
[
]
{
// 定义 VSCode 的显示语言。
// 请参阅 http://go.microsoft.com/fwlink/?LinkId=761051,了解支持的语言列表。
// 要更改值需要重启 VSCode。
"locale":"en-US"
}
{
// 将设置放入此文件中以覆盖默认设置
// Controls the font size.
"editor.fontSize": 17,
"editor.lineHeight": 28,
"editor.tabSize": 2,
"workbench.colorTheme": "One Dark Pro",
"workbench.iconTheme": "vscode-icons",
"workbench.activityBar.visible": true,
"workbench.statusBar.visible": true,
"window.menuBarVisibility": "toggle",
"workbench.sideBar.location": "left",
"editor.minimap.enabled": true,
"vsicons.dontShowNewVersionMessage": true,
"workbench.startupEditor": "welcomePage",
"files.eol": "\n",
"explorer.confirmDelete": false,
"gitlens.advanced.messages": {
"suppressCommitHasNoPreviousCommitWarning": true,
"suppressCommitNotFoundWarning": false,
"suppressFileNotUnderSourceControlWarning": false,
"suppressGitVersionWarning": false,
"suppressLineUncommittedWarning": false,
"suppressNoRepositoryWarning": false,
"suppressResultsExplorerNotice": false,
"suppressShowKeyBindingsNotice": true,
"suppressUpdateNotice": true,
"suppressWelcomeNotice": false
},
"editor.multiCursorModifier": "ctrlCmd",
"editor.snippetSuggestions": "top",
"editor.formatOnPaste": false,
"files.insertFinalNewline": true,
"files.associations": {
"*.wpy": "vue",
".prettierrc": "yaml",
".editorconfig": "yaml",
"*.wxss": "css",
"*.wxml": "vue-html",
"*.sass": "scss",
"*.json": "jsonc",
"*.js": "javascript"
},
"editor.formatOnSave": true,
"eslint.run": "onSave",
"gitlens.keymap": "alternate",
"[javascript]": {},
"gitlens.historyExplorer.enabled": true,
"sync.gist": "8c58eb6fffbca6f0c6e73575eba90b76",
"sync.quietSync": false,
"sync.askGistName": false,
"sync.removeExtensions": true,
"sync.syncExtensions": true,
"sync.autoDownload": false,
"sync.autoUpload": false,
"sync.forceDownload": false,
"eslint.options": {
"parserOptions": {
"ecmaVersion": 6
}
},
"git.autofetch": true,
"git.confirmSync": false,
"terminal.integrated.rendererType": "dom",
"update.channel": "none",
"githubPullRequests.hosts": [
{
"host": "https://github.com",
"username": "oauth",
"token": "system"
}
],
"debug.node.autoAttach": "off",
"prettier.disableLanguages": ["vue"],
"prettier.jsxSingleQuote": true,
"prettier.semi": false,
"prettier.singleQuote": true,
"breadcrumbs.enabled": true,
"fileheader.Author": "Kevin.Su",
"fileheader.LastModifiedBy": "Kevin.su"
}
{
"xcxPage": {
"prefix": "xcxPage",
"body": [
"Page({",
" data: {",
" text: \"This is page data.\"",
" },",
" onLoad: function(options) {",
" // Do some initialize when page load.",
" },",
" onReady: function() {",
" // Do something when page ready.",
" },",
" onShow: function() {",
" // Do something when page show.",
" },",
" onHide: function() {",
" // Do something when page hide.",
" },",
" onUnload: function() {",
" // Do something when page close.",
" },",
" onPullDownRefresh: function() {",
" // Do something when pull down.",
" },",
" onReachBottom: function() {",
" // Do something when page reach bottom.",
" },",
" onShareAppMessage: function () {",
" // return custom share data when user share.",
" },",
" onPageScroll: function() {",
" // Do something when page scroll",
" },",
" onTabItemTap(item) {",
" console.log(item.index)",
" console.log(item.pagePath)",
" console.log(item.text)",
" }",
"})",
""
],
"description": "微信小程序 Page"
}
}
{
"taroredux": {
"prefix": "taroredux",
"body": [
"import { connect } from \"@tarojs/redux\";",
"@connect(",
" ({ counter }) => ({",
" counter",
" }),",
" dispatch => ({",
" add() {",
" dispatch(add());",
" },",
" dec() {",
" dispatch(minus());",
" },",
" asyncAdd() {",
" dispatch(asyncAdd());",
" }",
" })",
")"
],
"description": "import redux conntent reducer"
}
}
{
/*
// Place your snippets for TypeScript 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"
}
*/
"Print to console": {
"prefix": "reduxmap",
"body": [
"const mapStateToProps = (state) => ({",
" ${1}",
"})",
"",
"const mapDispatchToProps = {",
" ",
"}",
""
],
"description": "Log output to console"
}
}
{"token":"aa4919c33dcef078ceb28851c571b4d1b9da117e","id":"18ee6ece870e8ac4330fbc8d9d0140e3"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment