Skip to content

Instantly share code, notes, and snippets.

@kingqi
Last active August 5, 2020 08:00
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 kingqi/1deb5d501ef86495021236298583179a to your computer and use it in GitHub Desktop.
Save kingqi/1deb5d501ef86495021236298583179a to your computer and use it in GitHub Desktop.
{"lastUpload":"2020-08-05T08:00:28.350Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "dee8df91-b82e-4d4c-a99a-872360b1d015",
"publisherId": "shalldie.background",
"publisherDisplayName": "shalldie"
},
"name": "background",
"publisher": "shalldie",
"version": "1.1.26"
},
{
"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": "d675f82f-f7bd-40a7-a99a-2fa418b8803b",
"publisherId": "evan-buss.font-switcher",
"publisherDisplayName": "evan-buss"
},
"name": "font-switcher",
"publisher": "evan-buss",
"version": "3.1.0"
},
{
"metadata": {
"id": "7f06f8a4-4c64-4470-8ad3-d82e51885270",
"publisherId": "rohit-gohri.format-code-action",
"publisherDisplayName": "rohit-gohri"
},
"name": "format-code-action",
"publisher": "rohit-gohri",
"version": "0.0.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.2"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.2.1"
},
{
"metadata": {
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f",
"publisherId": "xabikos.JavaScriptSnippets",
"publisherDisplayName": "xabikos"
},
"name": "JavaScriptSnippets",
"publisher": "xabikos",
"version": "1.8.0"
},
{
"metadata": {
"id": "93ecc089-f396-47b4-8676-7fa3bc156a2c",
"publisherId": "sysoev.language-stylus",
"publisherDisplayName": "sysoev"
},
"name": "language-stylus",
"publisher": "sysoev",
"version": "1.11.0"
},
{
"metadata": {
"id": "98790d67-10fa-497c-9113-f6c7489207b2",
"publisherId": "yzhang.markdown-all-in-one",
"publisherDisplayName": "yzhang"
},
"name": "markdown-all-in-one",
"publisher": "yzhang",
"version": "3.2.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.2.1"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.1.3"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.312"
},
{
"metadata": {
"id": "f0c5397b-d357-4197-99f0-cb4202f22818",
"publisherId": "ms-vscode-remote.remote-wsl",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-wsl",
"publisher": "ms-vscode-remote",
"version": "0.44.4"
},
{
"metadata": {
"id": "466468c3-1861-4ad1-bf3e-f9ad46545ebb",
"publisherId": "syler.sass-indented",
"publisherDisplayName": "syler"
},
"name": "sass-indented",
"publisher": "syler",
"version": "1.8.9"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.25.0"
},
{
"metadata": {
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03",
"publisherId": "vscodevim.vim",
"publisherDisplayName": "vscodevim"
},
"name": "vim",
"publisher": "vscodevim",
"version": "1.16.0"
},
{
"metadata": {
"id": "9f187176-0edc-4bde-9fd6-05fc85544753",
"publisherId": "ElemeFE.vscode-element-helper",
"publisherDisplayName": "ElemeFE"
},
"name": "vscode-element-helper",
"publisher": "ElemeFE",
"version": "0.5.6"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.8"
},
{
"metadata": {
"id": "e4ee7751-6514-4731-9cdb-7580ffa9e70b",
"publisherId": "MS-CEINTL.vscode-language-pack-zh-hans",
"publisherDisplayName": "MS-CEINTL"
},
"name": "vscode-language-pack-zh-hans",
"publisher": "MS-CEINTL",
"version": "1.48.1"
},
{
"metadata": {
"id": "66682185-9f80-4b70-8b8c-9e492935c105",
"publisherId": "LeetCode.vscode-leetcode",
"publisherDisplayName": "LeetCode"
},
"name": "vscode-leetcode",
"publisher": "LeetCode",
"version": "0.17.0"
},
{
"metadata": {
"id": "0cb81da2-1880-4755-9995-0ae9cc728e20",
"publisherId": "DotJoshJohnson.xml",
"publisherDisplayName": "DotJoshJohnson"
},
"name": "xml",
"publisher": "DotJoshJohnson",
"version": "2.5.1"
}
]
// 将键绑定放在此文件中以覆盖默认值
[
{
"key": "ctrl+tab",
"command": "workbench.action.terminal.focusNext", // 切换到下一个终端
"when": "terminalFocus"
},
{
"key": "ctrl+w",
"command": "workbench.action.terminal.kill", // 关闭当前终端
"when": "terminalFocus"
},
{
"key": "ctrl+t",
"command": "workbench.action.terminal.new", // 打开新的终端
"when": "terminalFocus"
},
{
"key": "ctrl+1",
"command": "workbench.action.terminal.focusAtIndex1", // 打开终端1
"when": "terminalFocus"
},
{
"key": "ctrl+2",
"command": "workbench.action.terminal.focusAtIndex2",
"when": "terminalFocus"
},
{
"key": "ctrl+3",
"command": "workbench.action.terminal.focusAtIndex3",
"when": "terminalFocus"
},
{
"key": "ctrl+4",
"command": "workbench.action.terminal.focusAtIndex4",
"when": "terminalFocus"
}
]
{
"background.useDefault": false,
"background.style": {
"opacity": 0.2,
"content": "''",
"pointer-events": "none",
"position": "absolute",
"z-index": "99999",
"width": "100%",
"height": "100%",
"background-size": "60%",
"background-position": "center",
"background-repeat": "no-repeat"
},
"explorer.confirmDelete": false,
"files.autoSave": "off",
"files.eol": "\n",
"git.confirmSync": false,
"git.enableSmartCommit": true,
"git.autofetch": true,
"sync.gist": "1deb5d501ef86495021236298583179a",
"sync.forceUpload": true,
"debug.node.autoAttach": "on",
"terminal.explorerKind": "external",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
"terminal.integrated.shell.linux": "/bin/bash",
"terminal.integrated.fontFamily": "monospace",
"workbench.editor.enablePreview": false,
"javascript.updateImportsOnFileMove.enabled": "always",
"editor.fontSize": 16,
"editor.fontWeight": "normal",
"editor.fontFamily": "'Sarasa Term SC Regular'",
"editor.fontLigatures": true,
"font-switcher.enableLivePreview": true,
"font-switcher.fontFamily": "'Jetbrains Mono','Source Code Pro', Consolas, 'Courier New', monospace,'Sarasa Term SC Regular'",
"diffEditor.ignoreTrimWhitespace": false,
"vetur.validation.template": false,
"vetur.format.defaultFormatterOptions": {
"prettier": {
"tabWidth": 2,
"semi": false,
"singleQuote": true
}
},
"vetur.format.options.tabSize": 4,
"vetur.format.defaultFormatter.html": "none",
"path-intellisense.mappings": {
"src": "${workspaceRoot}/src",
"@": "${workspaceRoot}/src"
},
"prettier.tabWidth": 4,
"prettier.useTabs": true,
"prettier.singleQuote": true,
"leetcode.endpoint": "leetcode-cn",
"leetcode.workspaceFolder": "C:\\Users\\刘康奇\\.leetcode",
"eslint.format.enable": true,
"eslint.lintTask.enable": true,
"editor.quickSuggestions": {
"strings": true
},
"editor.tabSize": 2,
"editor.formatOnSave": false,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.codeActionsOnSave": {
"source.fixAll.format": true,
"source.fixAll.eslint": true
},
"[markdown]": {
"editor.defaultFormatter": "yzhang.markdown-all-in-one"
},
"markdown.preview.breaks": true,
"vim.hlsearch": true,
"editor.renderLineHighlight": "line",
"workbench.colorCustomizations": {
"editor.lineHighlightBackground": "#00000090",
"editor.lineHighlightBorder": "#ffffff30"
}
}
{
// Place your snippets for vue-html 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 vue 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"
// }
"vue-template_ts": {
"prefix": "vts",
"body": [
"<template>",
" <div class=\"$1\">",
" $2",
" </div>",
"</template>",
"",
"<script lang=\"ts\">",
" import { Vue, Component } from \"vue-property-decorator\";",
"",
" @Component",
" export default class $1 extends Vue {$3}",
"</script>",
"",
"<style lang=\"scss\" scoped>",
".$1 {",
"}",
"</style>",
"",
],
"description": "ts vue template"
},
"vue-template_js":{
"prefix": "vjs",
"body": [
"<template>",
" <div class=\"$1\">",
" $3",
" </div>",
"</template>",
"",
"<script>",
"export default {",
" name: \"$1\",",
"}",
"</script>",
"",
"<style lang=\"scss\" scoped>",
".$1{",
"}",
"</style>",
"",
],
"description": "js vue template"
},
"vue-template-props": {
"prefix": "vprops",
"body": [
"props: {",
"$1",
"},",
],
"description": "vue.props"
},
"vue-dialog":{
"prefix": "vdialog",
"body": [
"<template>\n <el-dialog\n title=\"\"\n :visible=\"visible\"\n width=\"800px\"\n append-to-body\n :before-close=\"close\"\n >\n <el-form\n ref=\"form\"\n :model=\"form\"\n label-position=\"top\"\n :rules=\"rules\"\n size=\"medium\"\n >\n <el-form-item\n label=\"分组名称\"\n prop=\"name\"\n >\n <el-input v-model=\"form.name\" />\n </el-form-item>\n </el-form>\n <span\n slot=\"footer\"\n class=\"dialog-footer\"\n >\n <el-button\n size=\"medium\"\n @click=\"close\"\n >取 消</el-button>\n <el-button\n v-loading=\"loading\"\n size=\"medium\"\n type=\"primary\"\n @click=\"handleSubmit\"\n >\n 确 定\n </el-button>\n </span>\n </el-dialog>\n</template>\n<script>\nexport default {\n name: '',\n props: {\n visible: {\n type: Boolean,\n default: false\n }\n },\n data() {\n return {\n form: {},\n rules:{}\n }\n },\n created() {\n },\n methods: {\n close() {\n this.clear()\n this.\\$emit('update:visible', false)\n },\n clear() {\n this.form = this.\\$options.data().form\n this.\\$refs['form'].clearValidate()\n },\n init() {\n this.\\$emit('update:visible', true)\n },\n handleSubmit() {}\n }\n}\n</script>\n<style lang=\"scss\" scoped>\n\n</style>\n" ]
}
}
@kingqi
Copy link
Author

kingqi commented Dec 3, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment