Skip to content

Instantly share code, notes, and snippets.

@enter3017sky
Last active January 14, 2021 11: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 enter3017sky/8bd1cacf79fc4e640205d67579405bca to your computer and use it in GitHub Desktop.
Save enter3017sky/8bd1cacf79fc4e640205d67579405bca to your computer and use it in GitHub Desktop.
{"lastUpload":"2021-01-14T11:00:16.688Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "0bfc03aa-70fb-4740-82a7-ca1043260d88",
"publisherId": "nicoespeon.abracadabra",
"publisherDisplayName": "nicoespeon"
},
"name": "abracadabra",
"publisher": "nicoespeon",
"version": "4.13.1"
},
{
"metadata": {
"id": "d3836729-9cc1-42c1-b2af-d50071f57d29",
"publisherId": "formulahendry.auto-close-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-close-tag",
"publisher": "formulahendry",
"version": "0.5.10"
},
{
"metadata": {
"id": "6e440e71-8ed9-4f25-bb78-4b13096b8a03",
"publisherId": "formulahendry.auto-rename-tag",
"publisherDisplayName": "formulahendry"
},
"name": "auto-rename-tag",
"publisher": "formulahendry",
"version": "0.1.6"
},
{
"metadata": {
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc",
"publisherId": "alefragnani.Bookmarks",
"publisherDisplayName": "alefragnani"
},
"name": "Bookmarks",
"publisher": "alefragnani",
"version": "12.1.2"
},
{
"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.10.2"
},
{
"metadata": {
"id": "060828aa-17ab-40d9-9e2d-f8407f5c8d04",
"publisherId": "alexdima.copy-relative-path",
"publisherDisplayName": "alexdima"
},
"name": "copy-relative-path",
"publisher": "alexdima",
"version": "0.0.2"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.11"
},
{
"metadata": {
"id": "90a838c3-675b-4b87-b7a5-75ea88432cce",
"publisherId": "joelday.docthis",
"publisherDisplayName": "joelday"
},
"name": "docthis",
"publisher": "joelday",
"version": "0.7.1"
},
{
"metadata": {
"id": "f9b41ed2-541f-4932-aa79-9e13729d5671",
"publisherId": "Nixon.env-cmd-file-syntax",
"publisherDisplayName": "Nixon"
},
"name": "env-cmd-file-syntax",
"publisher": "Nixon",
"version": "0.2.2"
},
{
"metadata": {
"id": "43d92103-c3bd-4f6f-9ac0-b36f4c583346",
"publisherId": "Shinotatwu-DS.file-tree-generator",
"publisherDisplayName": "Shinotatwu-DS"
},
"name": "file-tree-generator",
"publisher": "Shinotatwu-DS",
"version": "1.1.1"
},
{
"metadata": {
"id": "438221f8-1107-4ccd-a6fe-f3b7fe0856b7",
"publisherId": "mhutchie.git-graph",
"publisherDisplayName": "mhutchie"
},
"name": "git-graph",
"publisher": "mhutchie",
"version": "1.28.0"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.1.3"
},
{
"metadata": {
"id": "be992f3f-9f22-4b66-a1d2-ecad04c28a28",
"publisherId": "abusaidm.html-snippets",
"publisherDisplayName": "abusaidm"
},
"name": "html-snippets",
"publisher": "abusaidm",
"version": "0.2.1"
},
{
"metadata": {
"id": "f45dc69c-8d62-4ea1-b01f-3ab90854acb6",
"publisherId": "sidthesloth.html5-boilerplate",
"publisherDisplayName": "sidthesloth"
},
"name": "html5-boilerplate",
"publisher": "sidthesloth",
"version": "1.1.1"
},
{
"metadata": {
"id": "eaa2127d-cb69-4ab9-8505-a60c9ee5f28b",
"publisherId": "oderwat.indent-rainbow",
"publisherDisplayName": "oderwat"
},
"name": "indent-rainbow",
"publisher": "oderwat",
"version": "7.5.0"
},
{
"metadata": {
"id": "a2cec723-5349-460d-9de9-0fd1f8d3456f",
"publisherId": "xabikos.JavaScriptSnippets",
"publisherDisplayName": "xabikos"
},
"name": "JavaScriptSnippets",
"publisher": "xabikos",
"version": "1.8.0"
},
{
"metadata": {
"id": "b63c44fd-0457-4696-99e9-dbfdf70d77de",
"publisherId": "ritwickdey.LiveServer",
"publisherDisplayName": "ritwickdey"
},
"name": "LiveServer",
"publisher": "ritwickdey",
"version": "5.6.1"
},
{
"metadata": {
"id": "f154cf38-02ea-4253-b9c8-0e89def0b10f",
"publisherId": "wibblemonkey.markdown-auto-toc",
"publisherDisplayName": "wibblemonkey"
},
"name": "markdown-auto-toc",
"publisher": "wibblemonkey",
"version": "0.3.0"
},
{
"metadata": {
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a",
"publisherId": "shd101wyy.markdown-preview-enhanced",
"publisherDisplayName": "shd101wyy"
},
"name": "markdown-preview-enhanced",
"publisher": "shd101wyy",
"version": "0.5.15"
},
{
"metadata": {
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6",
"publisherId": "zhuangtongfa.material-theme",
"publisherDisplayName": "zhuangtongfa"
},
"name": "material-theme",
"publisher": "zhuangtongfa",
"version": "3.9.12"
},
{
"metadata": {
"id": "65fca382-b0d0-438c-894a-ea55e4fda477",
"publisherId": "dnlytras.nord-wave",
"publisherDisplayName": "dnlytras"
},
"name": "nord-wave",
"publisher": "dnlytras",
"version": "0.3.4"
},
{
"metadata": {
"id": "fef63133-dae3-40fb-b81d-6da7617b4b1e",
"publisherId": "techer.open-in-browser",
"publisherDisplayName": "techer"
},
"name": "open-in-browser",
"publisher": "techer",
"version": "2.0.0"
},
{
"metadata": {
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86",
"publisherId": "christian-kohler.path-intellisense",
"publisherDisplayName": "christian-kohler"
},
"name": "path-intellisense",
"publisher": "christian-kohler",
"version": "2.3.0"
},
{
"metadata": {
"id": "044b4b31-2969-4af3-895d-855433b8b46d",
"publisherId": "felixfbecker.php-debug",
"publisherDisplayName": "felixfbecker"
},
"name": "php-debug",
"publisher": "felixfbecker",
"version": "1.14.5"
},
{
"metadata": {
"id": "389cd4a7-a68b-4cc5-8451-29cc7674ef6d",
"publisherId": "jeff-hykin.polacode-2019",
"publisherDisplayName": "jeff-hykin"
},
"name": "polacode-2019",
"publisher": "jeff-hykin",
"version": "0.5.2"
},
{
"metadata": {
"id": "96fa4707-6983-4489-b7c5-d5ffdfdcce90",
"publisherId": "esbenp.prettier-vscode",
"publisherDisplayName": "esbenp"
},
"name": "prettier-vscode",
"publisher": "esbenp",
"version": "5.8.0"
},
{
"metadata": {
"id": "ceff1db7-ccbb-4835-8056-635a65428818",
"publisherId": "sainoba.px-to-rem",
"publisherDisplayName": "sainoba"
},
"name": "px-to-rem",
"publisher": "sainoba",
"version": "1.3.1"
},
{
"metadata": {
"id": "aae0701b-111f-49c1-9000-abd37a442f28",
"publisherId": "WallabyJs.quokka-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "quokka-vscode",
"publisher": "WallabyJs",
"version": "1.0.335"
},
{
"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.52.0"
},
{
"metadata": {
"id": "00518570-772b-4ccb-8b06-d056f3f556e0",
"publisherId": "Tyriar.sort-lines",
"publisherDisplayName": "Tyriar"
},
"name": "sort-lines",
"publisher": "Tyriar",
"version": "1.9.0"
},
{
"metadata": {
"id": "0c601642-d429-4a82-b65d-457ec60f7c6d",
"publisherId": "chiragpat.tomorrow-and-tomorrow-night-operator-mono-theme",
"publisherDisplayName": "chiragpat"
},
"name": "tomorrow-and-tomorrow-night-operator-mono-theme",
"publisher": "chiragpat",
"version": "0.0.6"
},
{
"metadata": {
"id": "311877f8-d91b-486b-8277-87e530a22867",
"publisherId": "aStonedPenguin.tomorrow-night-eighties-contrast",
"publisherDisplayName": "aStonedPenguin"
},
"name": "tomorrow-night-eighties-contrast",
"publisher": "aStonedPenguin",
"version": "1.0.0"
},
{
"metadata": {
"id": "6ad45f5a-09ec-44e5-b363-867ddc1ec674",
"publisherId": "shardulm94.trailing-spaces",
"publisherDisplayName": "shardulm94"
},
"name": "trailing-spaces",
"publisher": "shardulm94",
"version": "0.3.1"
},
{
"metadata": {
"id": "38583aca-2ba1-417f-80fc-68ca8d717fb4",
"publisherId": "rbbit.typescript-hero",
"publisherDisplayName": "rbbit"
},
"name": "typescript-hero",
"publisher": "rbbit",
"version": "3.0.0"
},
{
"metadata": {
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483",
"publisherId": "octref.vetur",
"publisherDisplayName": "octref"
},
"name": "vetur",
"publisher": "octref",
"version": "0.31.3"
},
{
"metadata": {
"id": "484d897a-6711-403c-ab54-a96f12be5833",
"publisherId": "Equinusocio.vsc-community-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-community-material-theme",
"publisher": "Equinusocio",
"version": "1.4.2"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "33.1.2"
},
{
"metadata": {
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113",
"publisherId": "equinusocio.vsc-material-theme-icons",
"publisherDisplayName": "equinusocio"
},
"name": "vsc-material-theme-icons",
"publisher": "equinusocio",
"version": "1.2.2"
},
{
"metadata": {
"id": "0b8f8d63-11a2-4194-969c-ca7488b3413a",
"publisherId": "pranaygp.vscode-css-peek",
"publisherDisplayName": "pranaygp"
},
"name": "vscode-css-peek",
"publisher": "pranaygp",
"version": "4.0.2"
},
{
"metadata": {
"id": "583b2b34-2c1e-4634-8c0b-0b82e283ea3a",
"publisherId": "dbaeumer.vscode-eslint",
"publisherDisplayName": "dbaeumer"
},
"name": "vscode-eslint",
"publisher": "dbaeumer",
"version": "2.1.14"
},
{
"metadata": {
"id": "829a192d-496c-44ac-87f3-0a84ce36a853",
"publisherId": "emmanuelbeziat.vscode-great-icons",
"publisherDisplayName": "emmanuelbeziat"
},
"name": "vscode-great-icons",
"publisher": "emmanuelbeziat",
"version": "2.1.64"
},
{
"metadata": {
"id": "eedfd044-d5ac-4389-973d-3ac1fdb98ad5",
"publisherId": "kisstkondoros.vscode-gutter-preview",
"publisherDisplayName": "kisstkondoros"
},
"name": "vscode-gutter-preview",
"publisher": "kisstkondoros",
"version": "0.26.2"
},
{
"metadata": {
"id": "aaee577c-f062-495a-9816-0cbd442f1d25",
"publisherId": "ecmel.vscode-html-css",
"publisherDisplayName": "ecmel"
},
"name": "vscode-html-css",
"publisher": "ecmel",
"version": "1.8.0"
},
{
"metadata": {
"id": "c46b0018-f317-4b6c-a785-d2039b27338f",
"publisherId": "wix.vscode-import-cost",
"publisherDisplayName": "wix"
},
"name": "vscode-import-cost",
"publisher": "wix",
"version": "2.13.0"
},
{
"metadata": {
"id": "7997a8ae-1fae-4022-b834-12f6318aeffd",
"publisherId": "Orta.vscode-jest",
"publisherDisplayName": "Orta"
},
"name": "vscode-jest",
"publisher": "Orta",
"version": "3.2.0"
},
{
"metadata": {
"id": "64d05954-748a-433f-ba3e-edba0227e28e",
"publisherId": "MS-CEINTL.vscode-language-pack-zh-hant",
"publisherDisplayName": "MS-CEINTL"
},
"name": "vscode-language-pack-zh-hant",
"publisher": "MS-CEINTL",
"version": "1.52.2"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.38.0"
},
{
"metadata": {
"id": "ae9e3eb0-3357-4cc0-90ee-598d2d384757",
"publisherId": "eg2.vscode-npm-script",
"publisherDisplayName": "eg2"
},
"name": "vscode-npm-script",
"publisher": "eg2",
"version": "0.3.13"
},
{
"metadata": {
"id": "6f5d4f30-67aa-4151-80c0-1bbe8ca5f9db",
"publisherId": "cssho.vscode-svgviewer",
"publisherDisplayName": "cssho"
},
"name": "vscode-svgviewer",
"publisher": "cssho",
"version": "2.0.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"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "5.0.0"
},
{
"metadata": {
"id": "f0a0f9ee-cbb9-4826-b7fb-adddb46d456c",
"publisherId": "benawad.VSinder",
"publisherDisplayName": "benawad"
},
"name": "VSinder",
"publisher": "benawad",
"version": "1.19.0"
},
{
"metadata": {
"id": "3620b114-6fe8-459b-8c68-99943147069b",
"publisherId": "hollowtree.vue-snippets",
"publisherDisplayName": "hollowtree"
},
"name": "vue-snippets",
"publisher": "hollowtree",
"version": "1.0.4"
},
{
"metadata": {
"id": "6766254a-8e43-4ebc-9b89-e5be39cb5318",
"publisherId": "WallabyJs.wallaby-vscode",
"publisherDisplayName": "WallabyJs"
},
"name": "wallaby-vscode",
"publisher": "WallabyJs",
"version": "1.0.257"
}
]
{"attempts":1,"previous":{"extension":"1.27.0","vscode":"1.51.1"},"current":{"extension":"1.28.0","vscode":"1.51.1"},"apiAvailable":true,"queue":[]}
// 將按鍵繫結關係放在此檔案中以覆寫預設auto[]
// "command": "- <== 減號代表移除。
[
{
"key": "ctrl+f8",
"command": "HookyQR.beautifyFile",
"when": "editorFocus"
},
{
"key": "Ctrl+Shift+C",
"command": "copyRelativeFilePath"
// "command":"workbench.action.terminal.openNativeConsole"
},
{
"key": "ctrl+shift+c",
"command": "-workbench.action.terminal.openNativeConsole",
"when": "!terminalFocus"
},
]
// {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
// "[javascript]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// }
// }
{
// Enable per-language
// Set the default
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
// "source.organizeImports": true,
"source.fixAll.eslint": true,
// "source.fixAll.stylelint": true,
"source.fixAll": true
},
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"jsx"
],
// 以上取代
// "eslint.validate": [
// "javascript",
// "javascriptreact",
// "typescript",
// "typescriptreact",
// {
// "language": "vue",
// "autoFix": true//这句是vue保存时修复的关键
// }
// ],
// https://blog.csdn.net/qwe435541908/article/details/100706052
// 儲存自動 es-lint
// "editor.defaultFormatter": "esbenp.prettier-vscode",
// "[javascript]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
// },
// "[html]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode",
// },
"[json]": {
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.tabSize": 5
// "trailingComma": "es5",
// "tabWidth": 4,
// "semi": false,
// "singleQuote": true
},
"[markdown]": {
"editor.wordWrap": "on",
"editor.quickSuggestions": true
},
// // 关闭js/ts的默认format,统一用eslint进行格式化(tslint已经不维护了,所以转eslint吧)
// "javascript.format.enable": false,
// "typescript.format.enable": false,
// // "prettier.configPath": "D:\\Users\\Pierre\\Documents\\DEVELOPMENT\\.prettierrc",
// "[javascript]": {
// "editor.defaultFormatter": "esbenp.prettier-vscode"
// },
// "vetur.format.defaultFormatter.js": "none",
// "vetur.format.defaultFormatter.ts": "none",
// // 关闭vetur部分formatter。html用eslint-plugin-vue格式化。
// "vetur.format.defaultFormatter.html": "none",
// "editor.codeActionsOnSave": {
// "source.fixAll.eslint": true
// },
// "scm.autoReveal": true,
// "pathAlias.aliasMap": {
// "@": "${cwd}/src"
// },
// "editor.codeActionsOnSave": {
// "source.fixAll.eslint": true
// // "source.fixAll": true,
// // "source.fixAll.eslint": true
// },
// "eslint.alwaysShowStatus": true,
// "eslint.validate": [
// "javascript",
// "javascriptreact",
// "typescript",
// "typescriptreact",
// "vue",
// ],
// "vetur.validation.template": false,
"window.zoomLevel": 0,
"editor.fontSize": 16,
"editor.fontFamily": "'Fira Code', 'Source Code Variable', 'Microsoft JhengHei', 'Courier New', monospace",
"editor.fontLigatures": true, // 在捲軸上開啟 MiniMap 功能
"editor.minimap.showSlider": "always", // 顯示 MiniMap 縮圖滑桿
"editor.minimap.renderCharacters": false, // MiniMap 不渲染實際字元
"editor.renderIndentGuides": true,
"editor.renderWhitespace": "all",
"editor.wordWrap": "on",
"explorer.sortOrder": "type", // 左側檔案總管的文件排序
// NOTE: 改用 prettier
// > ref: https://marketplace.visualstudio.com/items?itemName=HookyQR.beautify
// "beautify.language": { // VSCodeBeautify: Ctrl+F8
// "js": {
// "type": ["javascript", "json"],
// "filename": [".jshintrc", ".jsbeautify"]
// },
// "markdown": "md",
// "css": ["css", "scss"],
// "html": ["htm", "html", "vue"]
// },
"workbench.colorCustomizations": {
/** https://code.visualstudio.com/api/references/theme-color#editor-colors */
"editor.selectionHighlightBorder": "#8e7f8200", //選擇內容的邊框顏色
"editor.selectionHighlightBackground": "#4c4a4b98", //選擇內容的背景顏色
"editorIndentGuide.activeBackground": "#81868d", //編輯器活動縮進參考線的顏色
"editorBracketMatch.background": "#6b516094", //匹配括號的背景色
// "tab.activeBackground": "#6c5e5e", // 被選取檔案的 tab 背景顏色
"tab.activeBackground": "#585858", // 被選取檔案的 tab 背景顏色
"editor.background": "#222" // 背景色
// "panel.background" : "#ff0000" // 下方面板背景色
// "editor.selectionHighlightBorder" : "#8e7f8200" , //選擇內容的邊框顏色
// "editor.selectionHighlightBackground" : "#4c4a4b98" , //選擇內容的背景顏色
// "editorIndentGuide.activeBackground" : "#81868d" , //編輯器活動縮進參考線的顏色
// "editorBracketMatch.background" : "#6b516094" , //匹配括號的背景色
// "tab.activeBackground" : "#404040" , // 被選取檔案的 tab 背景顏色
},
"window.menuBarVisibility": "toggle", //隱藏功能表,按Alt鍵時顯示
"workbench.editor.enablePreview": true, // 预览模式
"workbench.activityBar.visible": true,
"workbench.iconTheme": "vscode-great-icons",
"auto-rename-tag.activationOnLanguage": [
// 同時更改 tag name
"html",
"xml",
"php",
"javascript",
"markdown",
"vue"
],
"cSpell.userWords": [
"Addvalue",
"Rakeback",
"Scrollable",
"compositionend",
"dblclick",
"encry",
"keydown",
"keypress",
"keyup",
"mousemove",
"negs",
"reflog",
"stringify",
"todos",
"touchmove",
"touchstart",
"unshift",
"updtodo",
"vetur",
"vnode",
"yingjia"
],
"markdownlint.config": {
"default": true,
"MD001": false,
"MD003": {
"style": "atx"
},
"MD007": {
"indent": 2
},
"no-hard-tabs": false
},
"files.defaultLanguage": "markdown", // 設定預設文件語言類型 Markdown 編輯器
"files.autoSave": "afterDelay",
"files.autoSaveDelay": 2000,
"files.saveConflictResolution": "overwriteFileOnDisk", // 保存冲突: 询问使用者(askUser(default))或覆盖 overwriteFileOnDisk
"terminal.integrated.rendererType": "dom",
"eslint.migration.2_x": "off",
"editor.tabSize": 2,
"javascript.updateImportsOnFileMove.enabled": "always",
"explorer.confirmDelete": false,
"workbench.colorTheme": "Tomorrow Night Bright Operator Mono",
"editor.accessibilitySupport": "off",
// https://marketplace.visualstudio.com/items?itemName=wayou.vscode-todo-highlight
"todohighlight.keywords": [
"DEBUG:",
"REVIEW:",
{
"text": "NOTE:",
"color": "#fff",
"backgroundColor": "orange",
"overviewRulerColor": "grey"
},
{
"text": "HACK:",
"color": "#000",
"isWholeLine": false
}
// {
// "text": "TODO:",
// "color": "red",
// "border": "1px solid red",
// "borderRadius": "2px", //NOTE: using borderRadius along with `border` or you will see nothing change
// "backgroundColor": "rgba(0,0,0,.2)",
// //other styling properties goes here ...
// }
],
"diffEditor.ignoreTrimWhitespace": true,
// "editor.fontFamily": "'Source Code Pro',Consolas, 'Courier New', monospace",
// "workbench.colorTheme": "Visual Studio Dark",
// "terminal.integrated.shell.windows": "C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe",
"terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
// "terminal.integrated.shellArgs.windows": [
// "-c",
// "zsh"
// ],
"terminal.integrated.fontFamily": "'Fira Code', 'Source Code Variable', 'Microsoft JhengHei', 'Courier New', monospace",
"editor.minimap.size": "fill",
"debug.allowBreakpointsEverywhere": true,
"window.title": "${dirty} ${activeEditorMedium}${separator}${rootName}",
"[html]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"sync.gist": "8bd1cacf79fc4e640205d67579405bca"
// ${dirty}: 当文件修改后未保存时,显示一个圆点。
// ${activeEditorMedium}: 当前文件相对于工作区文件夹的路径(例如 myFolder/myFileFolder/myFile.txt)
// ${separator}: 一个条件分隔符("-"),仅当被带有值或静态文本的变量包围时才显示。
// ${rootName}: 工作区名称(例如 "myFolder" 或 "myWorkspace")。
// Git Bash
// "terminal.integrated.shell.windows": "C:\\Windows\\sysnative\\bash.exe",
// "terminal.integrated.shellArgs.windows": ["-c", "zsh"],
// "terminal.integrated.fontFamily": "monospace",
}
{
// Place your global snippets here. Each snippet is defined under a snippet name and has a scope, prefix, body and
// description. Add comma separated ids of the languages where the snippet is applicable in the scope field. If scope
// is left empty or omitted, the snippet gets applied to all languages. 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:
//
// console.log('%c selectedRow => ', 'background: #fb6; color:black; font-weight:900;', selectedRow)
/**
"${TM_FILENAME/(.*)/${1:/upcase}/}
*/
"vue": {
"prefix": "vue-template",
"scope": "vue",
"body": [
"<template>",
" <section class=\"$TM_FILENAME_BASE\">",
" $1",
" </section>",
"</template>\n",
"<script>",
"export default {",
" name: '${TM_FILENAME_BASE/([0-9a-z])/${1:/capitalize}/}',",
" components: {},",
" data() {",
" return {\n",
" }",
" },",
" watch: {},",
" mounted() {},",
" methods: {}",
"}",
"</script>\n",
"<style scoped lang=\"scss\">\n",
"</style>",
"$0"
],
"description": "Vue模板"
},
"INFO $1 #298C5B": {
"scope": "javascript,typescript",
"prefix": "clg",
"description": "INFO $1 #298C5B",
"body": [
"console.log(",
" '%c INFO %cData',",
" 'color: #298C5B; font-weight: bold; ',",
" 'color: #fff; background: #298C5B; font-weight: bold; padding: 5px; border-radius: 3px',",
" $1",
")"
],
},
"INFO #298C5B": {
"scope": "javascript,typescript",
"prefix": "clg",
"description": "INFO #298C5B",
"body": [
"console.log('%c INFO %cData', 'color: #298C5B; font-weight: bold; ',",
" 'color: #fff; background: #298C5B; font-weight: bold; padding: 5px; border-radius: 3px')"
],
},
"DEBUG $1 #0092FA": {
"scope": "javascript,typescript",
"prefix": "clg",
"description": "DEBUG $1 #0092FA",
"body": [
"console.log(",
" '%c DEBUG %cData',",
" 'color: #0092FA; font-weight: bold; ',",
" 'color: #fff; background: #0092FA; font-weight: bold; padding: 5px; border-radius: 3px',",
" $1",
")"
],
},
"DEBUG #0092FA": {
"scope": "javascript,typescript",
"prefix": "clg",
"description": "DEBUG #0092FA",
"body": [
"console.log('%c DEBUG %cData', 'color: #0092FA; font-weight: bold; ',",
" 'color: #fff; background: #0092FA; font-weight: bold; padding: 5px; border-radius: 3px')"
],
},
"<HR> #CA0082": {
"scope": "javascript,typescript",
"prefix": "clg",
"description": "<HR> #CA0082",
"body": "console.log('%c-------------------------------------------------', 'color: #CA0082; font-weight: bold; ')"
},
"#FF7 console.log string": {
"scope": "javascript,typescript",
"prefix": "clg",
"body": [
"console.log('%c $1 ', 'font-weight: bold; color: black; background: #F77;')"
],
"description": "打印出醒目的提示(#F77)"
},
"RED console.log key/value": {
"scope": "javascript,typescript",
"prefix": "clg",
"body": [
"console.log('%c $1 ', 'font-weight: bold; color: white; background: red;', $1)"
],
"description": "打印出醒目的提示(red)"
},
"BLUE console.log": {
"scope": "javascript,typescript",
"prefix": "clg",
"body": [
"console.log('%c $1 ', 'font-weight: bold; color: white; background: blue;', $1)"
],
"description": "打印出醒目的提示(blue)"
},
"GREEN console.log": {
"scope": "javascript,typescript",
"prefix": "clg",
"body": [
"console.log('%c $1 ', 'font-weight: bold; color: white; background: green;', $1)"
],
"description": "打印出醒目的提示(green)"
},
"#fb6 console.log": {
"scope": "javascript,typescript",
"prefix": "clg",
"body": [
"console.log('%c $1 => ', 'font-weight: bold; color: black; background: #FB6', $1)"
],
"description": "打印出醒目的提示(#FB6)"
},
"_keyValue": {
"scope": "javascript,typescript",
"prefix": "log",
"body": [
"console.log('$1: ', $1)$2",
],
"description": ""
},
"_String": {
"scope": "javascript,typescript",
"prefix": "log",
"body": [
"console.log('$1')$2",
],
"description": ""
},
// "_Parameter": {
// "scope": "javascript,typescript",
// "prefix": "log",
// "body": [
// "console.log($1)$2"
// ],
// "description": ""
// },
"_for loop": {
"scope": "javascript,typescript",
"prefix": "for",
"body": [
"for (let i = 0; i < $1.length; i++) {",
" $1[i]",
"}$2"
],
"description": ""
},
"_for reverse loop": {
"scope": "javascript,typescript",
"prefix": "for",
"body": [
"for (let i = $1.length - 1; i >= 0; i--) {",
" $1[i]",
"}$2"
],
"description": ""
},
"_for in": {
"scope": "javascript,typescript",
"prefix": "for",
"body": [
"for (let key in $1) {",
" let value = $1[key]",
"}$2"
],
"description": ""
},
"_Get element by ID": {
"scope": "javascript,typescript",
"prefix": "gid",
"body": [
"document.getElementById('$1')$2",
],
"description": ""
},
"_Get element by Classname": {
"scope": "javascript,typescript",
"prefix": "gic",
"body": [
"document.getElementByClassName('$1')$2",
],
"description": ""
},
"_myLog": {
"scope": "javascript,typescript",
"prefix": "mylog",
"body": [
"function myLog(dataName, data) {",
"let style = 'font-size:12px; background:orange; color:black; border-radius:5px; padding:2px';",
"console.log(`${dataName}: %c${data}`, style);"
],
"description": ""
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment