Skip to content

Instantly share code, notes, and snippets.

@sumaolin
Last active August 5, 2021 02:58
Show Gist options
  • Save sumaolin/d51d9860d68fb9dab7feb287dfb90d27 to your computer and use it in GitHub Desktop.
Save sumaolin/d51d9860d68fb9dab7feb287dfb90d27 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
{"lastUpload":"2021-08-05T02:57:51.384Z","extensionVersion":"v3.4.3"}
[
{
"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.4.3"
},
{
"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.16.4"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.18"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.3.0"
},
{
"metadata": {
"id": "14933acc-ee13-48c1-9320-e39310c683b1",
"publisherId": "antfu.iconify",
"publisherDisplayName": "antfu"
},
"name": "iconify",
"publisher": "antfu",
"version": "0.1.0"
},
{
"metadata": {
"id": "6c2f1801-1e7f-45b2-9b5c-7782f1e076e8",
"publisherId": "ms-toolsai.jupyter",
"publisherDisplayName": "ms-toolsai"
},
"name": "jupyter",
"publisher": "ms-toolsai",
"version": "2021.3.684299474"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.9.15"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "7.1.1"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.24.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.9"
},
{
"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.34.1"
},
{
"metadata": {
"id": "ea6a6046-2132-421f-a984-664909fcf0b8",
"publisherId": "hediet.vscode-drawio",
"publisherDisplayName": "hediet"
},
"name": "vscode-drawio",
"publisher": "hediet",
"version": "1.6.1"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.20"
},
{
"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": "11.6.0"
},
{
"metadata": {
"id": "92d01ae4-5a2e-4299-990c-7905798fb719",
"publisherId": "jsynowiec.vscode-insertdatestring",
"publisherDisplayName": "jsynowiec"
},
"name": "vscode-insertdatestring",
"publisher": "jsynowiec",
"version": "2.3.0"
},
{
"metadata": {
"id": "e8e7b42a-e70c-489f-a2dd-ebf10cf14a33",
"publisherId": "mrmlnc.vscode-less",
"publisherDisplayName": "mrmlnc"
},
"name": "vscode-less",
"publisher": "mrmlnc",
"version": "0.6.3"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.42.1"
},
{
"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": "7af40c8b-c8de-465a-b047-93acbaa23b0d",
"publisherId": "myxvisual.vscode-ts-uml",
"publisherDisplayName": "myxvisual"
},
"name": "vscode-ts-uml",
"publisher": "myxvisual",
"version": "1.0.4"
},
{
"metadata": {
"id": "d019bd88-6aad-4cb0-bb68-061df8d85942",
"publisherId": "yoyo930021.vuter",
"publisherDisplayName": "yoyo930021"
},
"name": "vuter",
"publisher": "yoyo930021",
"version": "0.1.2"
}
]
{
"key": "ctrl+j",
"command": "workbench.view.debug",
"when": "editorTextFocus"
}// Place your key bindings in this file to overwrite the defaults
[
]
{
"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": "default",
"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",
"*.vue": "vue"
},
"editor.formatOnSave": true,
"eslint.run": "onSave",
"gitlens.keymap": "alternate",
"[javascript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"gitlens.historyExplorer.enabled": true,
"sync.gist": "d51d9860d68fb9dab7feb287dfb90d27",
"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",
"debug.node.autoAttach": "off",
"prettier.jsxSingleQuote": true,
"prettier.semi": false,
"prettier.singleQuote": true,
"breadcrumbs.enabled": true,
"fileheader.Author": "Kevin.Su",
"fileheader.LastModifiedBy": "Kevin.su",
"prettier.trailingComma": "all",
"prettier.requireConfig": true,
"typescript.format.insertSpaceBeforeFunctionParenthesis": true,
"vetur.format.defaultFormatter.ts": "vscode-typescript",
"vetur.format.defaultFormatter.js": "vscode-typescript",
"prettier.useTabs": true,
"editor.renderControlCharacters": true,
"javascript.format.insertSpaceBeforeFunctionParenthesis": true,
"explorer.confirmDragAndDrop": false,
"rest-client.fontSize": 15,
"editor.mouseWheelZoom": true,
"editor.fontSize": 17,
"remote-github.keystorePath": "C:\\Users\\KevinSu\\github\\pat.txt",
"mssql.enableQueryHistoryCapture": false,
"mssql.connections": [
{
"server": "{{put-server-name-here}}",
"database": "{{put-database-name-here}}",
"user": "{{put-username-here}}",
"password": ""
}
],
"hediet.vscode-drawio.local-storage": "eyIuZHJhd2lvLWNvbmZpZyI6IntcImxhbmd1YWdlXCI6XCJcIixcImN1c3RvbUZvbnRzXCI6W10sXCJsaWJyYXJpZXNcIjpcImZsb3djaGFydDt1bWxcIixcImN1c3RvbUxpYnJhcmllc1wiOltcIkwuc2NyYXRjaHBhZFwiXSxcInBsdWdpbnNcIjpbXSxcInJlY2VudENvbG9yc1wiOltcIjAwOTk0RFwiLFwiMUJBMUUyXCJdLFwiZm9ybWF0V2lkdGhcIjowLFwiY3JlYXRlVGFyZ2V0XCI6dHJ1ZSxcInBhZ2VGb3JtYXRcIjp7XCJ4XCI6MCxcInlcIjowLFwid2lkdGhcIjo4MjcsXCJoZWlnaHRcIjoxMTY5fSxcInNlYXJjaFwiOnRydWUsXCJzaG93U3RhcnRTY3JlZW5cIjp0cnVlLFwiZ3JpZENvbG9yXCI6XCIjZDBkMGQwXCIsXCJkYXJrR3JpZENvbG9yXCI6XCIjNmU2ZTZlXCIsXCJhdXRvc2F2ZVwiOnRydWUsXCJyZXNpemVJbWFnZXNcIjpudWxsLFwib3BlbkNvdW50ZXJcI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eEpNRHdHbitnaEU5L1Y4WW12cmFmV3l2eWdJMWRHMlRLK1VaN0pPMVJwUFJYRmpidzhrckJEekJHZmZOUDNMblF1dGdEcWpRZm9NY0VkcVF2QWRBNGlLV3dJeERHSUF5VitHQ3Y5VTBzQmlPWm1MM0ZqZzUzUVpWWmtiTk1qajdlSlcxOStYaGU5MkhQa3h4UTk2cnVvOGc4amJqNGVVdHhjTTVzamtxaFJQZVFITGQxekpvN2ovV2Z0a3puaDVmZWpiQ3JqcVZGVVpUYWhLcXRzVytmQnJ1RzNaL0liM3AvZSt1ZzNsc21JcDhweWZRVlM4L0c2VlJXZTFVcDlqVHBHVXk0UjU2UnNiZHVxRFVYL3I4cjI4OUt2SGt2MDRiYmpVK2VzbE92TGF3cjdCTjkxdFc0WnhselIycUdQMXU1T3JaMkxMOWJvd01wbm1TWDlqNlR3R3IxQmxuNWl4T0djYXhuMVhNRXYrTUd2NFY2ZHdtQlFqdG1tVmFGcUxLZFF0NXJUaDN1MWs1Zm50VU4zazgxc3QyY2FQRXkrcDJqUWZBZGpTT2lwejJ1MWRrK2R6czdlNS8ySzlOcUdWbWhFNmJWTnJTUy81SXVieVM5WmNPSk1ROC9MV1pXbFpFUWU2WVYxbGlSMXNtaVIvU1EvcWxBS1E5MGd5cmgrRFB5NWlpWHpVelJDL0laeUIvM0xIUzgyS2g5YUN0KzdSOTFqNjVOUFB2QWlreEcvQy93dXZOak5CWllwK0p2aC8vNW5RN1poRzc2L29QUzhQRHFYVXduUGNsUmZ1ZkgyYU1hOTNQQWJjWHZlU2w5LzE1Tm04ei85ZW52N1gvNy9BZz09XCIsXCJ3XCI6MjgwLFwiaFwiOjEwNDB9XTwvbXhsaWJyYXJ5PiJ9",
"iceworks.materialSources": [],
"eslint.alwaysShowStatus": true,
"[jsonc]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"prettier.jsxBracketSameLine": true,
"eslint.workingDirectories": [
"./project"
],
"javascript.implicitProjectConfig.experimentalDecorators": true,
"javascript.updateImportsOnFileMove.enabled": "always",
"[javascriptreact]": {
"editor.defaultFormatter": "dbaeumer.vscode-eslint"
},
"[typescript]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"[html]": {
"editor.defaultFormatter": "vscode.html-language-features"
},
"volar.format.formatter": "workspaceExtensions",
"js/ts.implicitProjectConfig.experimentalDecorators": true,
"[dart]": {
"editor.formatOnSave": true,
"editor.formatOnType": true,
"editor.rulers": [
80
],
"editor.selectionHighlight": false,
"editor.suggest.snippetsPreventQuickSuggestions": false,
"editor.suggestSelection": "first",
"editor.tabCompletion": "onlySnippets",
"editor.wordBasedSuggestions": false
},
"typescript.tsc.autoDetect": "off",
"typescript.validate.enable": false,
"volar.tsPlugin": false,
"[vue]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"workbench.editorAssociations": [
{
"viewType": "jupyter.notebook.ipynb",
"filenamePattern": "*.ipynb"
}
],
"kite.showWelcomeNotificationOnStartup": false,
"appworks.materialSources": [],
"appworks.showWelcomePage": false,
"appworks.packageManager": "yarn",
"appworks.npmRegistry": "https://registry.npm.taobao.org",
"files.autoSave": "onFocusChange",
}
{
"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"
},
"undefined": {
"body": [
"wx.getShareInfo({",
" shareTicket: shareTicket,",
" success: function (resWXS) {",
" // console.warn('getShareInfo success: ', resWXS)",
" const { encryptedData, iv } = resWXS",
" // console.warn(encryptedData)",
" // console.warn(iv)",
" API.post('api/wechat/decrypt_data', {",
" encryptedData,",
" iv,",
" }).then(res => {",
" console.log('getShareInfo success decrypt_data: ', res)",
" const app = Taro.getApp()",
" const { code, data } = res",
" if (code === 20000) {",
" const { openGId } = data",
" app.km.register({",
" lg: openGId,",
" })",
" }",
" })",
" },",
" fail: function (e) {",
" console.warn('getShareInfo fail: ', e)",
" },",
" })"
]
}
}
{
/*
// 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