Skip to content

Instantly share code, notes, and snippets.

@YouEclipse
Last active July 1, 2020 04:00
Show Gist options
  • Save YouEclipse/d87063e9efed09b96073faa384db436d to your computer and use it in GitHub Desktop.
Save YouEclipse/d87063e9efed09b96073faa384db436d to your computer and use it in GitHub Desktop.
vscode config files
{"lastUpload":"2020-07-01T04:00:09.957Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "9a2c5b90-283b-4454-87b6-96c05146d7ba",
"publisherId": "Endormi.2077-theme",
"publisherDisplayName": "Endormi"
},
"name": "2077-theme",
"publisher": "Endormi",
"version": "1.4.8"
},
{
"metadata": {
"id": "d428bab2-b132-4fae-9fcd-6bb1a63d5a19",
"publisherId": "yaruson.ascii-unicode-escape",
"publisherDisplayName": "yaruson"
},
"name": "ascii-unicode-escape",
"publisher": "yaruson",
"version": "0.1.0"
},
{
"metadata": {
"id": "dee8df91-b82e-4d4c-a99a-872360b1d015",
"publisherId": "shalldie.background",
"publisherDisplayName": "shalldie"
},
"name": "background",
"publisher": "shalldie",
"version": "1.1.25"
},
{
"metadata": {
"id": "498f0f76-626f-4908-97fc-47556f2e6518",
"publisherId": "manasxx.background-cover",
"publisherDisplayName": "manasxx"
},
"name": "background-cover",
"publisher": "manasxx",
"version": "2.2.3"
},
{
"metadata": {
"id": "04208f17-8aed-4d49-b0a2-fbce829efbeb",
"publisherId": "xaver.clang-format",
"publisherDisplayName": "xaver"
},
"name": "clang-format",
"publisher": "xaver",
"version": "1.9.0"
},
{
"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": "485e8574-a825-4190-9589-bb6837b4eebe",
"publisherId": "unbug.codelf",
"publisherDisplayName": "unbug"
},
"name": "codelf",
"publisher": "unbug",
"version": "11.7.0"
},
{
"metadata": {
"id": "d2ef4ecf-344b-4514-abc4-6d4eb2b6a33c",
"publisherId": "max-SS.Cyberpunk",
"publisherDisplayName": "max-SS"
},
"name": "Cyberpunk",
"publisher": "max-SS",
"version": "1.2.5"
},
{
"metadata": {
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd",
"publisherId": "msjsdiag.debugger-for-chrome",
"publisherDisplayName": "msjsdiag"
},
"name": "debugger-for-chrome",
"publisher": "msjsdiag",
"version": "4.12.8"
},
{
"metadata": {
"id": "8bb12ae3-73f8-40cf-86b7-4bd5729c6238",
"publisherId": "GrapeCity.gc-excelviewer",
"publisherDisplayName": "GrapeCity"
},
"name": "gc-excelviewer",
"publisher": "GrapeCity",
"version": "3.0.37"
},
{
"metadata": {
"id": "2335b326-c334-4e81-bc51-c408fcec6e7c",
"publisherId": "waderyan.gitblame",
"publisherDisplayName": "waderyan"
},
"name": "gitblame",
"publisher": "waderyan",
"version": "4.0.1"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "10.2.2"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "golang.Go",
"publisherDisplayName": "golang"
},
"name": "Go",
"publisher": "golang",
"version": "0.14.4"
},
{
"metadata": {
"id": "4b436eef-1548-403f-8c50-cc3ee6331d78",
"publisherId": "go-home.go-home",
"publisherDisplayName": "go-home"
},
"name": "go-home",
"publisher": "go-home",
"version": "1.0.3"
},
{
"metadata": {
"id": "2a0c8638-adab-43b1-b168-974c9208f10d",
"publisherId": "766b.go-outliner",
"publisherDisplayName": "766b"
},
"name": "go-outliner",
"publisher": "766b",
"version": "0.1.20"
},
{
"metadata": {
"id": "57b31869-018f-45b8-bd99-5881bbfdf53f",
"publisherId": "joaoacdias.golang-tdd",
"publisherDisplayName": "joaoacdias"
},
"name": "golang-tdd",
"publisher": "joaoacdias",
"version": "0.0.9"
},
{
"metadata": {
"id": "198a707e-28af-4e84-8610-6e2f628dd12d",
"publisherId": "redhat.java",
"publisherDisplayName": "redhat"
},
"name": "java",
"publisher": "redhat",
"version": "0.63.0"
},
{
"metadata": {
"id": "a8b5a31a-0fef-4c94-abd7-1f30bd551762",
"publisherId": "ithildir.java-properties",
"publisherDisplayName": "ithildir"
},
"name": "java-properties",
"publisher": "ithildir",
"version": "0.0.2"
},
{
"metadata": {
"id": "1bf2afc4-296d-482b-89ff-3318c474a2a8",
"publisherId": "ipedrazas.kubernetes-snippets",
"publisherDisplayName": "ipedrazas"
},
"name": "kubernetes-snippets",
"publisher": "ipedrazas",
"version": "0.1.9"
},
{
"metadata": {
"id": "c6a25fb4-b02a-4cb3-95c2-bb77763f1423",
"publisherId": "yycalm.linecount",
"publisherDisplayName": "yycalm"
},
"name": "linecount",
"publisher": "yycalm",
"version": "0.1.7"
},
{
"metadata": {
"id": "5db78037-f674-459f-a236-db622c427c5b",
"publisherId": "PKief.material-icon-theme",
"publisherDisplayName": "PKief"
},
"name": "material-icon-theme",
"publisher": "PKief",
"version": "4.2.0"
},
{
"metadata": {
"id": "edf538ca-5567-4d89-8389-331fe45621dc",
"publisherId": "odubuc.mysql-inline-decorator",
"publisherDisplayName": "odubuc"
},
"name": "mysql-inline-decorator",
"publisher": "odubuc",
"version": "0.0.5"
},
{
"metadata": {
"id": "acfa08ec-e98b-4b39-8561-1bf1938e71da",
"publisherId": "jakebathman.mysql-syntax",
"publisherDisplayName": "jakebathman"
},
"name": "mysql-syntax",
"publisher": "jakebathman",
"version": "1.3.1"
},
{
"metadata": {
"id": "b027c4b2-25ad-46db-b574-05dae3b2dc92",
"publisherId": "azemoh.one-monokai",
"publisherDisplayName": "azemoh"
},
"name": "one-monokai",
"publisher": "azemoh",
"version": "0.4.6"
},
{
"metadata": {
"id": "d95cb424-7a5a-4e08-9698-107d6fd590cf",
"publisherId": "jebbs.plantuml",
"publisherDisplayName": "jebbs"
},
"name": "plantuml",
"publisher": "jebbs",
"version": "2.13.12"
},
{
"metadata": {
"id": "67e66172-30c7-4478-8f5d-6eac4ae755dc",
"publisherId": "mohsen1.prettify-json",
"publisherDisplayName": "mohsen1"
},
"name": "prettify-json",
"publisher": "mohsen1",
"version": "0.0.3"
},
{
"metadata": {
"id": "22b8b702-2890-4a3e-bbde-0e59688e1c5e",
"publisherId": "saekiraku.rainbow-fart",
"publisherDisplayName": "saekiraku"
},
"name": "rainbow-fart",
"publisher": "saekiraku",
"version": "1.3.0"
},
{
"metadata": {
"id": "dda49fd5-1f3b-4d25-bf61-4fc41905ede5",
"publisherId": "humao.rest-client",
"publisherDisplayName": "humao"
},
"name": "rest-client",
"publisher": "humao",
"version": "0.24.1"
},
{
"metadata": {
"id": "529697b9-b343-4b1c-ba2f-f5ef692132d4",
"publisherId": "ms-vscode.sublime-keybindings",
"publisherDisplayName": "ms-vscode"
},
"name": "sublime-keybindings",
"publisher": "ms-vscode",
"version": "4.0.7"
},
{
"metadata": {
"id": "055eebbb-890b-4487-ad1f-5b193d3068e2",
"publisherId": "adisreyaj.swagger-snippets",
"publisherDisplayName": "adisreyaj"
},
"name": "swagger-snippets",
"publisher": "adisreyaj",
"version": "0.0.1"
},
{
"metadata": {
"id": "cb9cc98b-7140-4f13-b993-1e26c4a7bd42",
"publisherId": "Arjun.swagger-viewer",
"publisherDisplayName": "Arjun"
},
"name": "swagger-viewer",
"publisher": "Arjun",
"version": "3.0.1"
},
{
"metadata": {
"id": "4e44877c-1c8d-4f9c-ba86-1372d0fbeeb1",
"publisherId": "dracula-theme.theme-dracula",
"publisherDisplayName": "dracula-theme"
},
"name": "theme-dracula",
"publisher": "dracula-theme",
"version": "2.22.1"
},
{
"metadata": {
"id": "9764fb1f-aa45-4e65-a18e-705b3b00761c",
"publisherId": "tinkertrain.theme-panda",
"publisherDisplayName": "tinkertrain"
},
"name": "theme-panda",
"publisher": "tinkertrain",
"version": "1.3.0"
},
{
"metadata": {
"id": "261cac81-cd7b-4555-bb41-0c2d2bcd3e70",
"publisherId": "Gruntfuggly.todo-tree",
"publisherDisplayName": "Gruntfuggly"
},
"name": "todo-tree",
"publisher": "Gruntfuggly",
"version": "0.0.177"
},
{
"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.1"
},
{
"metadata": {
"id": "dffaf5a1-2219-434b-9d87-cb586fd59260",
"publisherId": "Equinusocio.vsc-material-theme",
"publisherDisplayName": "Equinusocio"
},
"name": "vsc-material-theme",
"publisher": "Equinusocio",
"version": "32.8.0"
},
{
"metadata": {
"id": "8c609a4f-268a-41fb-8fe6-b6fcd95e8113",
"publisherId": "equinusocio.vsc-material-theme-icons",
"publisherDisplayName": "equinusocio"
},
"name": "vsc-material-theme-icons",
"publisher": "equinusocio",
"version": "1.1.4"
},
{
"metadata": {
"id": "d960eabf-f421-4568-8be0-2633af2c37b0",
"publisherId": "patrys.vscode-code-outline",
"publisherDisplayName": "patrys"
},
"name": "vscode-code-outline",
"publisher": "patrys",
"version": "0.2.1"
},
{
"metadata": {
"id": "0479fc1c-3d67-49f9-b087-fb9069afe48f",
"publisherId": "ms-azuretools.vscode-docker",
"publisherDisplayName": "ms-azuretools"
},
"name": "vscode-docker",
"publisher": "ms-azuretools",
"version": "1.3.1"
},
{
"metadata": {
"id": "b3abc059-1ff4-4741-b367-1c9fe6c15855",
"publisherId": "mikey.vscode-fileheader",
"publisherDisplayName": "mikey"
},
"name": "vscode-fileheader",
"publisher": "mikey",
"version": "0.0.2"
},
{
"metadata": {
"id": "12b447c6-a1ca-444a-8250-67ccce77d577",
"publisherId": "vscode-fileheader-git.vscode-fileheader-git",
"publisherDisplayName": "vscode-fileheader-git"
},
"name": "vscode-fileheader-git",
"publisher": "vscode-fileheader-git",
"version": "1.0.0"
},
{
"metadata": {
"id": "61fcd0cf-64d7-4836-8d6b-d55f4fb83281",
"publisherId": "vscjava.vscode-java-debug",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-debug",
"publisher": "vscjava",
"version": "0.26.0"
},
{
"metadata": {
"id": "7865e561-1c83-410e-9b99-aabada597a7e",
"publisherId": "vscjava.vscode-java-dependency",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-dependency",
"publisher": "vscjava",
"version": "0.10.2"
},
{
"metadata": {
"id": "96f11e1f-1a46-4592-b084-f025b2c2a81f",
"publisherId": "vscjava.vscode-java-pack",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-pack",
"publisher": "vscjava",
"version": "0.9.1"
},
{
"metadata": {
"id": "67c06b0d-1891-42ca-b2a8-113e79bff069",
"publisherId": "vscjava.vscode-java-test",
"publisherDisplayName": "vscjava"
},
"name": "vscode-java-test",
"publisher": "vscjava",
"version": "0.23.0"
},
{
"metadata": {
"id": "4837e4f3-1b01-4732-b1a6-daa57ef64cab",
"publisherId": "ms-kubernetes-tools.vscode-kubernetes-tools",
"publisherDisplayName": "ms-kubernetes-tools"
},
"name": "vscode-kubernetes-tools",
"publisher": "ms-kubernetes-tools",
"version": "1.2.1"
},
{
"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.46.3"
},
{
"metadata": {
"id": "66682185-9f80-4b70-8b8c-9e492935c105",
"publisherId": "shengchen.vscode-leetcode",
"publisherDisplayName": "shengchen"
},
"name": "vscode-leetcode",
"publisher": "shengchen",
"version": "0.16.2"
},
{
"metadata": {
"id": "daf8b44d-8aae-4da2-80c5-1f770219f643",
"publisherId": "DavidAnson.vscode-markdownlint",
"publisherDisplayName": "DavidAnson"
},
"name": "vscode-markdownlint",
"publisher": "DavidAnson",
"version": "0.36.1"
},
{
"metadata": {
"id": "b0f06c6b-24fb-4d7b-bd79-bc5e2fa17312",
"publisherId": "vscjava.vscode-maven",
"publisherDisplayName": "vscjava"
},
"name": "vscode-maven",
"publisher": "vscjava",
"version": "0.22.0"
},
{
"metadata": {
"id": "d4598ff7-3c39-47f6-bf45-2df845252570",
"publisherId": "formulahendry.vscode-mysql",
"publisherDisplayName": "formulahendry"
},
"name": "vscode-mysql",
"publisher": "formulahendry",
"version": "0.4.0"
},
{
"metadata": {
"id": "a27ff63d-ff11-478d-b1ab-19aa1ef19882",
"publisherId": "hoovercj.vscode-power-mode",
"publisherDisplayName": "hoovercj"
},
"name": "vscode-power-mode",
"publisher": "hoovercj",
"version": "2.2.0"
},
{
"metadata": {
"id": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8",
"publisherId": "zxh404.vscode-proto3",
"publisherDisplayName": "zxh404"
},
"name": "vscode-proto3",
"publisher": "zxh404",
"version": "0.4.2"
},
{
"metadata": {
"id": "f2fd462f-f1bd-4c62-b54f-59a4e5ffc6a3",
"publisherId": "WakaTime.vscode-wakatime",
"publisherDisplayName": "WakaTime"
},
"name": "vscode-wakatime",
"publisher": "WakaTime",
"version": "4.0.0"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.8.0"
},
{
"metadata": {
"id": "876e8f93-74d0-4f4f-91b7-34a09f19f444",
"publisherId": "VisualStudioExptTeam.vscodeintellicode",
"publisherDisplayName": "VisualStudioExptTeam"
},
"name": "vscodeintellicode",
"publisher": "VisualStudioExptTeam",
"version": "1.2.8"
}
]
{"enabledVoicePackages":["built-in-voice-chinese"]}
{
"contributes": [
{
"keywords": ["function", "=>", "func ", "def "],
"voices":[
"function_01.mp3",
"function_02.mp3",
"function_03.mp3"
]
},
{
"keywords": ["=>"],
"voices": ["arrow_function_01.mp3"]
},
{
"keywords": ["if"],
"voices": [
"if_01.mp3",
"if_02.mp3",
"if_03.mp3"
]
},
{
"keywords": ["for", "while"],
"voices": [
"for_01.mp3",
"for_02.mp3",
"for_03.mp3"
]
},
{
"keywords": ["await"],
"voices": [
"await_01.mp3",
"await_02.mp3",
"await_03.mp3"
]
},
{
"keywords": ["catch", "except", "err != nil", "err!=nil"],
"voices": [
"catch_01.mp3",
"catch_02.mp3",
"catch_03.mp3"
]
},
{
"keywords": ["import", "include"],
"voices": [
"import_01.mp3",
"import_02.mp3"
]
},
{
"keywords": ["v-html"],
"voices": [
"v_html_01.mp3"
]
},
{
"keywords": ["fuck", "shit"],
"voices": [
"fuck_pm_01.mp3",
"fuck_pm_02.mp3"
]
},
{
"keywords": ["$time_morning"],
"voices": ["time_morning_01.mp3"]
},
{
"keywords": ["$time_before_noon"],
"voices": [
"time_before_noon_01.mp3",
"time_before_noon_02.mp3",
"time_before_noon_03.mp3",
"time_before_noon_04.mp3"
]
},
{
"keywords": ["$time_noon"],
"voices": ["time_noon_01.mp3"]
},
{
"keywords": ["$time_evening"],
"voices": ["time_evening_01.mp3"]
},
{
"keywords": ["$time_midnight"],
"voices": ["time_midnight_01.mp3"]
},
{
"keywords": ["$time_each_hour"],
"voices": [
"time_each_hour_01.mp3",
"time_each_hour_02.mp3",
"time_each_hour_03.mp3",
"time_each_hour_04.mp3",
"time_each_hour_05.mp3"
]
}
]
}
{
"name": "built-in-voice-chinese",
"display-name": "Built-In Voice (Chinese)",
"avatar": "avatar.jpg",
"avatar-dark":"avatar-dark.jpg",
"version": "1.0.1",
"description": "内置中文语音包",
"languages": ["javascript"],
"author": "Alice Moon",
"gender": "female",
"locale": "zh"
}
{
"contributes": [
{
"keywords": ["func"],
"voices": [
"function_01.mp3",
"function_02.mp3",
"function_03.mp3"
]
},
{
"keywords": ["=>"],
"voices": [
"arrow_function_01.mp3"
]
},
{
"keywords": ["catch"],
"voices": [
"catch_01.mp3"
]
}
]
}
{
"name": "built-in-voice-english",
"display-name": "Built-In Voice (English)",
"version": "1.0.0",
"description": "This built-in voice package is created by Speech Synthesis. Because I don't have any friends that use English as mother language, if you are interested in this project, it would be nice to have contribute with your voice, no matter about gender, tone color, personality, language, contry etc.",
"languages": ["javascript"],
"gender": "female",
"locale": "en"
}
{
"name": "KugimiyaRie",
"display-name": "KugimiyaRie 钉宫理惠 (Japanese)",
"avatar": "louise.png",
"avatar-dark": "shana.png",
"version": "0.0.1",
"description": "傲娇钉宫,鞭写鞭骂",
"languages": [
"javascript"
],
"author": "zthxxx",
"gender": "female",
"locale": "jp",
"contributes": [
{
"keywords": [
"function",
"=>"
],
"voices": [
"function_01.mp3",
"function_02.mp3",
"function_03.mp3"
]
},
{
"keywords": [
"=>"
],
"voices": [
"arrow_function_01.mp3"
]
},
{
"keywords": [
"if"
],
"voices": [
"if_01.mp3",
"if_02.mp3",
"if_03.mp3"
]
},
{
"keywords": [
"for",
"while"
],
"voices": [
"for_01.mp3",
"for_02.mp3",
"for_03.mp3"
]
},
{
"keywords": [
"await"
],
"voices": [
"await_01.mp3",
"await_02.mp3",
"await_03.mp3"
]
},
{
"keywords": [
"catch"
],
"voices": [
"catch_01.mp3",
"catch_02.mp3",
"catch_03.mp3"
]
},
{
"keywords": [
"import"
],
"voices": [
"import_01.mp3",
"import_02.mp3"
]
},
{
"keywords": [
"v-html"
],
"voices": [
"v_html_01.mp3"
]
},
{
"keywords": [
"$time_morning"
],
"voices": [
"time_morning_01.mp3"
]
},
{
"keywords": [
"$time_before_noon"
],
"voices": [
"time_before_noon_01.mp3",
"time_before_noon_02.mp3",
"time_before_noon_03.mp3",
"time_before_noon_04.mp3"
]
},
{
"keywords": [
"$time_noon"
],
"voices": [
"time_noon_01.mp3"
]
},
{
"keywords": [
"$time_evening"
],
"voices": [
"time_evening_01.mp3"
]
},
{
"keywords": [
"$time_midnight"
],
"voices": [
"time_midnight_01.mp3"
]
},
{
"keywords": [
"$time_each_hour"
],
"voices": [
"time_each_hour_01.mp3",
"time_each_hour_02.mp3",
"time_each_hour_03.mp3",
"time_each_hour_04.mp3",
"time_each_hour_05.mp3"
]
}
]
}
// Place your key bindings in this file to overwrite the defaults
[
]
{
"terminal.external.osxExec": "Terminal.app",
"go.gopath": "/Users/klook/golang:/Users/klook/work/klook-libs:/Users/klook/work/klook-order:/Users/klook/work/klook-pay",
"go.autocompleteUnimportedPackages": true,
"terminal.integrated.shell.osx": "/bin/zsh",
"editor.fontFamily": " Fira Code,Monaco, 'Courier New', monospace",
"editor.fontLigatures": true,
"editor.fontSize": 15,
"workbench.iconTheme": "eq-material-theme-icons-darker",
"go.gocodePackageLookupMode": "go",
"window.zoomLevel": 0,
"[go]": {
"editor.insertSpaces": false,
"editor.formatOnSave": true
},
"editor.cursorBlinking": "smooth",
"protoc": {
"path": "/usr/local/bin/protoc",
"options": [
"--proto_path=${env.PROTO_PATH}",
]
},
"editor.formatOnSave": true,
"clang-format.executable": "/usr/local/Cellar/clang-format/2018-10-04",
"symbolOutline.doSort": true,
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"terminal.integrated.rendererType": "dom",
"go.testFlags": [
"-v"
],
"[proto3]": {
"editor.defaultFormatter": "zxh404.vscode-proto3"
},
"go.testEnvVars": {
// "GOCACHE": "off",
},
"go.gotoSymbol.includeGoroot": true,
"workbench.startupEditor": "welcomePage",
"powermode.enabled": true,
"files.exclude": {
"**/.classpath": true,
"**/.project": true,
"**/.settings": true,
"**/.factorypath": true
},
"plantuml.render": "PlantUMLServer",
"plantuml.exportFormat": "png",
"plantuml.exportOutDir": "../static/img/",
"extensions.ignoreRecommendations": false,
"fileheader.Author": "yoyo.wu",
"fileheader.LastModifiedBy": "yoyo.wu",
"workbench.sideBar.location": "left",
"powermode.presets": "flames",
"go.useLanguageServer": true,
"go.testEnvFile": "GOCACHE=off",
"gohome.hour": 19,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
"go.formatTool": "goimports",
"todo-tree.tree.showScanModeButton": false,
"http.proxy": "http://127.0.0.1:7890",
"go.useGoProxyToCheckForToolUpdates": false,
"go.inferGopath": false,
"backgroundCover.imagePath": "/Users/klook/Downloads/IMG_4597.JPG",
"plantuml.server": "http://plantuml.istiocn.com/",
"plantuml.commandArgs": [
"**/.project"
],
"go.addTags": {},
"workbench.colorTheme": "One Monokai",
"markdownlint.run": "onSave",
"sync.gist": "d87063e9efed09b96073faa384db436d"
}
{
// Place your snippets for go 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"
// }
"format error": {
"prefix": "fr",
"body": [
"fmt.Errorf(\"[$1] $2 error: %s \",err)",
],
"description": "fmt.Errorf snippets"
},
"log error": {
"prefix": "fr",
"body": [
"logger.Errorf(\"[$1] $2 error: %s \",err)",
],
"description": "log.Errorf snippets"
},
"return error": {
"prefix": "erf",
"body": [
"if err !=nil {",
" return errors.Errorf(err,$1)",
"}"
],
"description": "return err snippets"
},
"return error2": {
"prefix": "erf",
"body": [
"if err !=nil {",
" return nil, errors.Errorf(err,$1)",
"}"
],
"description": "return err snippets"
},
"new span": {
"prefix": "span",
"body": [
"sp, ctx, h := rest.PrepareTraceCtxHandlerInfo(\"$1\", r)",
" defer sp.Finish()",
],
"description": "new span"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment