Last active
April 13, 2020 04:19
-
-
Save chiuan/ebf07acaf58c789dc1bc0104accac847 to your computer and use it in GitHub Desktop.
Visual Studio Code Settings Sync Gist
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"lastUpload":"2020-04-13T04:19:50.934Z","extensionVersion":"v3.4.3"} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"metadata": { | |
"id": "70378119-1d85-4935-9733-0298c7a369a2", | |
"publisherId": "steoates.autoimport", | |
"publisherDisplayName": "steoates" | |
}, | |
"name": "autoimport", | |
"publisher": "steoates", | |
"version": "1.5.3" | |
}, | |
{ | |
"metadata": { | |
"id": "697255a9-3f36-44c8-b084-d3b91edfb23a", | |
"publisherId": "HookyQR.beautify", | |
"publisherDisplayName": "HookyQR" | |
}, | |
"name": "beautify", | |
"publisher": "HookyQR", | |
"version": "1.5.0" | |
}, | |
{ | |
"metadata": { | |
"id": "7a0110bb-231a-4598-aa1b-0769ea46d28b", | |
"publisherId": "aaron-bond.better-comments", | |
"publisherDisplayName": "aaron-bond" | |
}, | |
"name": "better-comments", | |
"publisher": "aaron-bond", | |
"version": "2.0.5" | |
}, | |
{ | |
"metadata": { | |
"id": "b689fcc8-d494-4dbf-a228-2c694a578afc", | |
"publisherId": "alefragnani.Bookmarks", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "Bookmarks", | |
"publisher": "alefragnani", | |
"version": "11.1.0" | |
}, | |
{ | |
"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": "e37e7e07-723f-4e40-9d26-b3c3ce3ec18a", | |
"publisherId": "reflectiondm.classynaming", | |
"publisherDisplayName": "reflectiondm" | |
}, | |
"name": "classynaming", | |
"publisher": "reflectiondm", | |
"version": "1.2.0" | |
}, | |
{ | |
"metadata": { | |
"id": "a6a0c5b2-d078-4bf5-a9ee-4e37054414b3", | |
"publisherId": "formulahendry.code-runner", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "code-runner", | |
"publisher": "formulahendry", | |
"version": "0.9.17" | |
}, | |
{ | |
"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": "d0bfc4ab-1d3a-4487-8782-7cf6027b4fff", | |
"publisherId": "ms-dotnettools.csharp", | |
"publisherDisplayName": "ms-dotnettools" | |
}, | |
"name": "csharp", | |
"publisher": "ms-dotnettools", | |
"version": "1.21.16" | |
}, | |
{ | |
"metadata": { | |
"id": "eb7755c6-c13a-480e-b3d2-a054b29774b0", | |
"publisherId": "Leopotam.csharpfixformat", | |
"publisherDisplayName": "Leopotam" | |
}, | |
"name": "csharpfixformat", | |
"publisher": "Leopotam", | |
"version": "0.0.84" | |
}, | |
{ | |
"metadata": { | |
"id": "1ec62ca5-d7f9-4ddb-a882-e8d018c0aefd", | |
"publisherId": "msjsdiag.debugger-for-chrome", | |
"publisherDisplayName": "msjsdiag" | |
}, | |
"name": "debugger-for-chrome", | |
"publisher": "msjsdiag", | |
"version": "4.12.6" | |
}, | |
{ | |
"metadata": { | |
"id": "d1a2eab4-aa6e-4094-93b3-6a007f60bd9d", | |
"publisherId": "k--kato.docomment", | |
"publisherDisplayName": "k--kato" | |
}, | |
"name": "docomment", | |
"publisher": "k--kato", | |
"version": "0.1.9" | |
}, | |
{ | |
"metadata": { | |
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da", | |
"publisherId": "ms-vscode.Go", | |
"publisherDisplayName": "ms-vscode" | |
}, | |
"name": "Go", | |
"publisher": "ms-vscode", | |
"version": "0.13.1" | |
}, | |
{ | |
"metadata": { | |
"id": "10080d12-0130-4d5b-9bff-d7f48af4ad54", | |
"publisherId": "ansencumt.go-builder-help", | |
"publisherDisplayName": "ansencumt" | |
}, | |
"name": "go-builder-help", | |
"publisher": "ansencumt", | |
"version": "2.4.3" | |
}, | |
{ | |
"metadata": { | |
"id": "aaf6ba60-786a-416e-91d6-00ac390fb478", | |
"publisherId": "nickdodd79.gulptasks", | |
"publisherDisplayName": "nickdodd79" | |
}, | |
"name": "gulptasks", | |
"publisher": "nickdodd79", | |
"version": "1.3.1" | |
}, | |
{ | |
"metadata": { | |
"id": "f30b63fa-e34a-40af-a573-5de5ecfb6c5e", | |
"publisherId": "k--kato.intellij-idea-keybindings", | |
"publisherDisplayName": "k--kato" | |
}, | |
"name": "intellij-idea-keybindings", | |
"publisher": "k--kato", | |
"version": "0.2.38" | |
}, | |
{ | |
"metadata": { | |
"id": "3b1db1fc-c7f7-4bd6-9fa4-b499dfa99a8a", | |
"publisherId": "shd101wyy.markdown-preview-enhanced", | |
"publisherDisplayName": "shd101wyy" | |
}, | |
"name": "markdown-preview-enhanced", | |
"publisher": "shd101wyy", | |
"version": "0.5.2" | |
}, | |
{ | |
"metadata": { | |
"id": "5db78037-f674-459f-a236-db622c427c5b", | |
"publisherId": "PKief.material-icon-theme", | |
"publisherDisplayName": "PKief" | |
}, | |
"name": "material-icon-theme", | |
"publisher": "PKief", | |
"version": "4.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "26a529c9-2654-4b95-a63f-02f6a52429e6", | |
"publisherId": "zhuangtongfa.material-theme", | |
"publisherDisplayName": "zhuangtongfa" | |
}, | |
"name": "material-theme", | |
"publisher": "zhuangtongfa", | |
"version": "3.2.5" | |
}, | |
{ | |
"metadata": { | |
"id": "113b22c8-8125-42ec-8c6b-80c3f5d5fa5f", | |
"publisherId": "IBM.output-colorizer", | |
"publisherDisplayName": "IBM" | |
}, | |
"name": "output-colorizer", | |
"publisher": "IBM", | |
"version": "0.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "a41c1549-4053-44d4-bf30-60fc809b4a86", | |
"publisherId": "christian-kohler.path-intellisense", | |
"publisherDisplayName": "christian-kohler" | |
}, | |
"name": "path-intellisense", | |
"publisher": "christian-kohler", | |
"version": "1.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "67e66172-30c7-4478-8f5d-6eac4ae755dc", | |
"publisherId": "mohsen1.prettify-json", | |
"publisherDisplayName": "mohsen1" | |
}, | |
"name": "prettify-json", | |
"publisher": "mohsen1", | |
"version": "0.0.3" | |
}, | |
{ | |
"metadata": { | |
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347", | |
"publisherId": "alefragnani.project-manager", | |
"publisherDisplayName": "alefragnani" | |
}, | |
"name": "project-manager", | |
"publisher": "alefragnani", | |
"version": "10.11.0" | |
}, | |
{ | |
"metadata": { | |
"id": "797a79de-a0fd-4349-9034-bec47be9a941", | |
"publisherId": "2gua.rainbow-brackets", | |
"publisherDisplayName": "2gua" | |
}, | |
"name": "rainbow-brackets", | |
"publisher": "2gua", | |
"version": "0.0.6" | |
}, | |
{ | |
"metadata": { | |
"id": "3a63675f-7987-4cff-a411-d4a9568f560c", | |
"publisherId": "slevesque.shader", | |
"publisherDisplayName": "slevesque" | |
}, | |
"name": "shader", | |
"publisher": "slevesque", | |
"version": "1.1.4" | |
}, | |
{ | |
"metadata": { | |
"id": "f53f2128-212d-491d-8640-c6e59cf5c08c", | |
"publisherId": "amlovey.shaderlabvscodefree", | |
"publisherDisplayName": "amlovey" | |
}, | |
"name": "shaderlabvscodefree", | |
"publisher": "amlovey", | |
"version": "1.1.6" | |
}, | |
{ | |
"metadata": { | |
"id": "07f0f563-f20a-459e-8c7e-997d97a5f4fa", | |
"publisherId": "ilylia.sproto-support", | |
"publisherDisplayName": "ilylia" | |
}, | |
"name": "sproto-support", | |
"publisher": "ilylia", | |
"version": "0.0.1" | |
}, | |
{ | |
"metadata": { | |
"id": "186ace18-2b44-490d-863e-0bd29b229a27", | |
"publisherId": "formulahendry.terminal", | |
"publisherDisplayName": "formulahendry" | |
}, | |
"name": "terminal", | |
"publisher": "formulahendry", | |
"version": "0.0.10" | |
}, | |
{ | |
"metadata": { | |
"id": "ebb13f5c-e0ec-4bf9-a6ca-983340e3a2e8", | |
"publisherId": "YclepticStudios.unity-snippets", | |
"publisherDisplayName": "YclepticStudios" | |
}, | |
"name": "unity-snippets", | |
"publisher": "YclepticStudios", | |
"version": "0.1.2" | |
}, | |
{ | |
"metadata": { | |
"id": "2f5dd8cb-d251-4d70-abfe-ddebcb077483", | |
"publisherId": "octref.vetur", | |
"publisherDisplayName": "octref" | |
}, | |
"name": "vetur", | |
"publisher": "octref", | |
"version": "0.24.0" | |
}, | |
{ | |
"metadata": { | |
"id": "d96e79c6-8b25-4be3-8545-0e0ecefcae03", | |
"publisherId": "vscodevim.vim", | |
"publisherDisplayName": "vscodevim" | |
}, | |
"name": "vim", | |
"publisher": "vscodevim", | |
"version": "1.13.1" | |
}, | |
{ | |
"metadata": { | |
"id": "957cd83d-dc33-4cd0-9550-62c93f227481", | |
"publisherId": "jorgeserrano.vscode-csharp-snippets", | |
"publisherDisplayName": "jorgeserrano" | |
}, | |
"name": "vscode-csharp-snippets", | |
"publisher": "jorgeserrano", | |
"version": "0.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": "9ccc1dd7-7ec4-4a46-bd4f-7d7b8b9d322a", | |
"publisherId": "vscode-icons-team.vscode-icons", | |
"publisherDisplayName": "vscode-icons-team" | |
}, | |
"name": "vscode-icons", | |
"publisher": "vscode-icons-team", | |
"version": "10.1.1" | |
}, | |
{ | |
"metadata": { | |
"id": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8", | |
"publisherId": "zxh404.vscode-proto3", | |
"publisherDisplayName": "zxh404" | |
}, | |
"name": "vscode-proto3", | |
"publisher": "zxh404", | |
"version": "0.4.2" | |
}, | |
{ | |
"metadata": { | |
"id": "9b2c953d-6ad4-46d1-b18e-7e5992d1d8a6", | |
"publisherId": "akamud.vscode-theme-onedark", | |
"publisherDisplayName": "akamud" | |
}, | |
"name": "vscode-theme-onedark", | |
"publisher": "akamud", | |
"version": "2.2.1" | |
}, | |
{ | |
"metadata": { | |
"id": "c8d95916-cf54-455f-b324-cbd887b7d3a8", | |
"publisherId": "sdras.vue-vscode-snippets", | |
"publisherDisplayName": "sdras" | |
}, | |
"name": "vue-vscode-snippets", | |
"publisher": "sdras", | |
"version": "1.9.0" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Empty |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Place your key bindings in this file to overwrite the defaults | |
[ | |
{ "key": "cmd+2", "command": "editor.action.goToDeclaration", | |
"when": "editorHasDefinitionProvider && editorTextFocus && !isInEmbeddedEditor" }, | |
{ "key": "shift+cmd+2", "command": "editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" }, | |
{ "key": "cmd+u", "command": "editor.action.referenceSearch.trigger", | |
"when": "editorHasReferenceProvider && editorTextFocus && !inReferenceSearchEditor && !isInEmbeddedEditor" }, | |
{ "key": "cmd+-", "command": "workbench.action.navigateBack" }, | |
{ "key": "cmd+=", "command": "workbench.action.navigateForward" }, | |
{ "key": "cmd+r", "command": "editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" }, | |
{ | |
"key": "cmd+down", "command":"workbench.action.switchWindow"}, | |
{ "key": "cmd+1", "command": "workbench.action.terminal.focusAtIndex1", | |
"when": "terminalFocus" }, | |
{ "key": "cmd+2", "command": "workbench.action.terminal.focusAtIndex2", | |
"when": "terminalFocus" }, | |
{ "key": "cmd+3", "command": "workbench.action.terminal.focusAtIndex3", | |
"when": "terminalFocus" }, | |
{ "key": "cmd+4", "command": "workbench.action.terminal.focusAtIndex4", | |
"when": "terminalFocus" }, | |
{ "key": "ctrl+cmd+n", "command": "code-runner.run" }, | |
{ "key": "f2", "command": "code-runner.run" }, | |
{ "key": "ctrl+cmd+m", "command": "code-runner.stop" }, | |
{ | |
"key": "f3", | |
"command": "code-runner.stop" | |
}, | |
{ | |
"key": "alt+cmd+down", | |
"command": "-extension.vim_cmd+alt+down", | |
"when": "editorTextFocus && !inDebugRepl" | |
}, | |
{ | |
"key": "ctrl+cmd+t", | |
"command": "go.test.file" | |
}, | |
{ | |
"key": "space", | |
"command": "-debug.toggleBreakpoint", | |
"when": "breakpointsFocused" | |
}, | |
{ | |
"key": "space", | |
"command": "-list.toggleExpand", | |
"when": "listFocus" | |
}, | |
{ | |
"key": "ctrl+cmd+i", | |
"command": "editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "shift+alt+f", | |
"command": "-editor.action.formatDocument", | |
"when": "editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "ctrl+cmd+b", | |
"command": "HookyQR.beautifyFile" | |
}, | |
{ | |
"key": "shift+cmd+'", | |
"command": "workbench.action.focusRightGroup" | |
}, | |
{ | |
"key": "cmd+k cmd+right", | |
"command": "-workbench.action.focusRightGroup" | |
}, | |
{ | |
"key": "shift+cmd+;", | |
"command": "workbench.action.focusLeftGroup" | |
}, | |
{ | |
"key": "cmd+k cmd+left", | |
"command": "-workbench.action.focusLeftGroup" | |
}, | |
{ | |
"key": "cmd+u", | |
"command": "-cursorUndo", | |
"when": "textInputFocus" | |
}, | |
{ | |
"key": "ctrl+d", | |
"command": "-workbench.action.debug.run", | |
"when": "!inDebugMode && !terminalFocus" | |
}, | |
{ | |
"key": "ctrl+`", | |
"command": "-workbench.action.selectTheme" | |
}, | |
{ | |
"key": "alt+cmd+'", | |
"command": "bookmarks.jumpToNext", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+l", | |
"command": "-bookmarks.jumpToNext", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+;", | |
"command": "bookmarks.jumpToPrevious", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "alt+cmd+j", | |
"command": "-bookmarks.jumpToPrevious", | |
"when": "editorTextFocus" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "-workbench.view.search", | |
"when": "!searchViewletVisible" | |
}, | |
{ | |
"key": "cmd+3", | |
"command": "references-view.find", | |
"when": "editorHasReferenceProvider" | |
}, | |
{ | |
"key": "alt+f7", | |
"command": "-references-view.find", | |
"when": "editorHasReferenceProvider" | |
}, | |
{ | |
"key": "cmd+r", | |
"command": "-editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "f2", | |
"command": "--editor.action.rename", | |
"when": "editorHasRenameProvider && editorTextFocus && !editorReadonly" | |
}, | |
{ | |
"key": "alt+cmd+b", | |
"command": "-editor.action.goToImplementation", | |
"when": "editorHasImplementationProvider && editorTextFocus && !isInEmbeddedEditor" | |
}, | |
{ | |
"key": "alt+cmd+b", | |
"command": "gulptasks:execute" | |
} | |
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// 同步配置插件 | |
"sync.gist": "ebf07acaf58c789dc1bc0104accac847", | |
"sync.autoDownload": false, | |
"sync.autoUpload": false, | |
"sync.forceDownload": false, | |
"update.enableWindowsBackgroundUpdates": false, | |
"editor.fontFamily": "Source Code Pro", | |
"editor.tabSize": 4, | |
"editor.tabCompletion": "on", | |
"editor.minimap.enabled": false, | |
"editor.quickSuggestionsDelay": 5, | |
"editor.smoothScrolling": false, | |
"window.zoomLevel": 0, | |
"window.newWindowDimensions": "inherit", | |
"window.restoreFullscreen": true, | |
"window.title": "${activeEditorLong}${separator}${rootName}", | |
"window.nativeTabs": false, | |
// 文件顶部信息 | |
"fileheader.Author": "chiuan wei", | |
"fileheader.LastModifiedBy": "chiuan wei", | |
// c# | |
"omnisharp.autoStart": true, | |
"omnisharp.loggingLevel": "error", | |
// "csharpextensions.reFormatAfterChange": true, | |
// "csharpextensions.privateMemberPrefix": "_", | |
"find.all.references.engine": "ag", | |
"find.all.references.options": "-j 12 --no-ignore -s -w", | |
// c# format | |
"csharp.format.enable": false, | |
"csharpfixformat.style.spaces.beforeParenthesis": false, // 不会把括号的格式化 | |
"csharpfixformat.style.newline.atEnd": true, | |
"csharpfixformat.style.newline.elseCatch": true, | |
"csharpfixformat.style.braces.onSameLine": false, | |
// go | |
"[go]": { | |
"editor.insertSpaces": false, | |
"editor.formatOnSave": true | |
}, | |
"go.formatTool": "gofmt", | |
"go.lintTool": "gometalinter", | |
"go.lintFlags": [ | |
"--disable-all", | |
"--enable=errcheck" | |
// "--enable=varcheck", | |
// "--enable=unused", | |
// "--enable=ineffassign" | |
// "--enable=goconst", | |
// "--enable=interfacer", | |
// "--enable=staticcheck", | |
// "--enable=dupl", | |
// "--enable=golint", | |
// "--enable=gotype", | |
// "--enable=vet", | |
// "--enable=misspell" | |
// // "--enable=gocyclo", | |
// "--enable=goimports", | |
// "--enable=gosimple", | |
// "--enable=aligncheck", | |
// "--enable=deadcode", | |
// "--enable=ineffassign", | |
// "--enable=structcheck", | |
// // "--enable=unconvert" | |
], | |
"go.liveErrors": { | |
"enabled": true, | |
"delay": 500 | |
}, | |
"go.useCodeSnippetsOnFunctionSuggest": true, | |
"go.autocompleteUnimportedPackages": true, | |
"go.gotoSymbol.includeImports": true, | |
"go.useLanguageServer": false, | |
"go.goroot": "/usr/local/Cellar/go/1.13.1/libexec", | |
"go.gopath": "/go:${workspaceRoot}", | |
"go.inferGopath": true, | |
"go.testFlags": ["-v"], | |
// "go.docsTool": "gogetdoc", | |
// "go.gotoSymbol.ignoreFolders": [ | |
// "github.com", | |
// "name5566", | |
// "leaf" | |
// ], | |
// 方便go cmd编译环境的 | |
"gcmd.env": { | |
// "GOPATH": "{go.gopath};{GOPATH}", | |
"GOPATH": "{go.gopath}", | |
"GOBIN": "/go/bin" | |
}, | |
"gterminal.env": { | |
// "GOPATH": "{go.gopath};{GOPATH}" | |
"GOPATH": "{go.gopath}" | |
// darwin linux | |
, | |
"GOOS": "darwin" | |
}, | |
// cpp | |
// "C_Cpp.autocomplete": "Default", | |
// "C_Cpp.errorSquiggles": "Disabled", | |
// "C_Cpp.intelliSenseEngine": "Default", | |
// code run | |
"code-runner.clearPreviousOutput": false, | |
"code-runner.executorMap": { | |
"javascript": "node", | |
"java": "cd $dir && javac $fileName && java $fileNameWithoutExt", | |
"c": "cd $dir && gcc $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"cpp": "cd $dir && g++ $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"objective-c": "cd $dir && gcc -framework Cocoa $fileName -o $fileNameWithoutExt && $dir$fileNameWithoutExt", | |
"php": "php", | |
"python": "python", | |
"perl": "perl", | |
"ruby": "ruby", | |
"go": "export GOPATH=/go:$workspaceRoot && cd $workspaceRoot/bin && go run $dir$fileName", | |
"lua": "lua", | |
"groovy": "groovy", | |
"powershell": "powershell -ExecutionPolicy ByPass -File", | |
"bat": "cmd /c", | |
"shellscript": "bash", | |
"fsharp": "fsi", | |
"csharp": "scriptcs", | |
"vbscript": "cscript //Nologo", | |
"typescript": "ts-node", | |
"coffeescript": "coffee", | |
"scala": "scala", | |
"swift": "swift", | |
"julia": "julia", | |
"crystal": "crystal", | |
"ocaml": "ocaml", | |
"r": "Rscript", | |
"applescript": "osascript", | |
"clojure": "lein exec", | |
"haxe": "haxe --cwd $dirWithoutTrailingSlash --run $fileNameWithoutExt", | |
"rust": "cd $dir && rustc $fileName && $dir$fileNameWithoutExt", | |
"racket": "racket", | |
"ahk": "autohotkey", | |
"autoit": "autoit3", | |
"kotlin": "cd $dir && kotlinc $fileName -include-runtime -d $fileNameWithoutExt.jar && java -jar $fileNameWithoutExt.jar", | |
"dart": "dart", | |
"pascal": "cd $dir && fpc $fileName && $dir$fileNameWithoutExt", | |
"d": "cd $dir && dmd $fileName && $dir$fileNameWithoutExt", | |
"haskell": "runhaskell", | |
"nim": "nim compile --verbosity:0 --hints:off --run" | |
}, | |
// vim mode setting | |
"vim.disableExtension": false, | |
"vim.easymotion": true, | |
"vim.incsearch": true, | |
"vim.useSystemClipboard": true, | |
"vim.useCtrlKeys": true, | |
"vim.hlsearch": true, | |
"vim.sneak": true, | |
"vim.easymotionMarkerFontFamily": "Source Code Pro", | |
"vim.easymotionMarkerFontSize": "13", | |
"vim.easymotionMarkerBackgroundColor": "", | |
"vim.insertModeKeyBindings": [{ | |
"before": ["j", "j"], | |
"after": ["<Esc>"] | |
}], | |
"vim.visualModeKeyBindings": [{ | |
// 行末 | |
"before": ["\\"], | |
"after": ["$", "b", "l"] | |
}, | |
{ | |
"before": ["<leader>", "e"], | |
"after": ["<leader>", "<leader>", "e"] | |
}, | |
{ | |
"before": ["<leader>", "b"], | |
"after": ["<leader>", "<leader>", "b"] | |
} | |
], | |
"vim.normalModeKeyBindings": [{ | |
// 行末 | |
"before": ["\\"], | |
"after": ["$"] | |
}, | |
{ | |
"before": ["<C-n>"], | |
"commands": [":nohl"] | |
}, | |
{ | |
"before": ["<leader>", "e"], | |
"after": ["<leader>", "<leader>", "e"] | |
}, | |
{ | |
"before": ["<leader>", "b"], | |
"after": ["<leader>", "<leader>", "b"] | |
} | |
], | |
"vim.leader": "<space>", | |
"vim.handleKeys": { | |
"<C-a>": true, | |
"<C-d>": true, | |
"<C-u>": true | |
}, | |
"vim.scroll": 20, | |
"sync.quietSync": false, | |
"workbench.sideBar.location": "left", | |
"workbench.startupEditor": "newUntitledFile", | |
"sync.askGistName": false, | |
"workbench.editor.showTabs": true, | |
"extensions.autoUpdate": false, | |
"explorer.confirmDragAndDrop": false, | |
"sync.removeExtensions": true, | |
"sync.syncExtensions": true, | |
"editor.fontLigatures": true, | |
"editor.wordWrap": "off", | |
// better comment | |
"better-comments.highlightPlainText": true, | |
// 设置忽略的目录以及忽略搜索的地方 | |
"search.exclude": { | |
"**/node_modules": true, | |
"**/bower_components": true, | |
"build/": true, | |
"temp/": true, | |
"library/": true, | |
"packages/": true, | |
"uiproject/": true, | |
"**/*.anim": true, | |
"**/*.bin": true, | |
"**/*.wav": true, | |
"**/*.mp3": true, | |
"**/*.prefab": true, | |
"dist/*":true, | |
// go project need ignore | |
"src/github.com/*":true, | |
"src/golang.org/*":true, | |
"src/sourcegraph.com/*":true, | |
}, | |
"files.exclude": { | |
"**/.git": true, | |
"**/.svn": true, | |
"**/.hg": true, | |
"**/CVS": true, | |
"**/.DS_Store": true, | |
"**/*.meta": true, | |
"**/*.fire": true, | |
"**/*.bin": true, | |
"**/*.wav": true, | |
"**/*.mp3": true, | |
"**/*.prefab": true, | |
}, | |
// prettier 插件 | |
"prettier.tabWidth": 4, | |
"prettier.useTabs": true, | |
"typescript.updateImportsOnFileMove.enabled": "always", | |
"editor.fontSize": 13, | |
"csharpfixformat.style.indent.preprocessorIgnored": false, | |
"csharpfixformat.style.operators.onSameLine": false, | |
"vsicons.dontShowNewVersionMessage": true, | |
"workbench.iconTheme": "vscode-icons", | |
"explorer.confirmDelete": false, | |
"debug.allowBreakpointsEverywhere": true, | |
"[typescript]": { | |
"editor.defaultFormatter": "vscode.typescript-language-features" | |
}, | |
"oneDarkPro.bold": true, | |
"[json]": { | |
"editor.defaultFormatter": "HookyQR.beautify" | |
}, | |
"explorer.autoReveal": false, | |
"[proto3]": {}, | |
"workbench.colorTheme": "One Dark Pro", | |
"debug.console.fontSize": 10, | |
"debug.console.fontFamily": "Source Code Pro", | |
"terminal.integrated.fontFamily": "Source Code Pro", | |
"terminal.integrated.fontSize": 10, | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* | |
// Place your snippets for C# 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" | |
} | |
*/ | |
// unity 常用快捷键设置 | |
"using UnityEngine": { | |
"prefix": "unity", | |
"body": [ | |
"using UnityEngine;", | |
"$2" | |
], | |
"description": "using UnityEngine" | |
}, | |
"TTDebugerLog": { | |
"prefix": "ttlog", | |
"body": [ | |
"TTDebuger.Log(\"$1\");" | |
], | |
"description": "Log to use UnityEngine" | |
}, | |
"UnityLog": { | |
"prefix": "log", | |
"body": [ | |
"Debug.Log(\"$1\");" | |
], | |
"description": "Log to use UnityEngine" | |
}, | |
"TTDebugerLogError": { | |
"prefix": "tterror", | |
"body": [ | |
"TTDebuger.LogError(\"$1\");" | |
], | |
"description": "LogError to use UnityEngine" | |
}, | |
"UnityLogError": { | |
"prefix": "error", | |
"body": [ | |
"Debug.LogError(\"$1\");" | |
], | |
"description": "LogError to use UnityEngine" | |
}, | |
"ECS Reactive System": { | |
"prefix": "ecsreact", | |
"body": [ | |
"using System.Collections;\nusing System.Collections.Generic;\nusing UnityEngine;\nusing Entitas;\nusing System;\npublic class $1System : ReactiveSystem<GameEntity> {\n\treadonly GameContext _context;\n\tpublic $1System(Contexts contexts) : base(contexts.game){\n\t\t_context = contexts.game;\n\t}\n\tprotected override void Execute(List<GameEntity> entities)\n\t{\n\t\tforeach (var e in entities)\n\t\t{\n\t\n\t\t}\n\t}\n\tprotected override bool Filter(GameEntity entity)\n\t{\n\t\treturn true;\n\t}\n\tprotected override ICollector<GameEntity> GetTrigger(IContext<GameEntity> context)\n\t{\n\t\tthrow new NotImplementedException();\n\t}\n}" | |
], | |
"description": "快速生成一个ReactiveSystem模板类" | |
}, | |
"ECS System": { | |
"prefix": "ecssys", | |
"body": [ | |
"using System;\nusing Entitas;\npublic class $1System {\n\tGameContext _context;\n\n\tpublic $1System(Contexts contexts)\n\t{\n\t\t_context = contexts.game;\n\t}\n\n\t$2\n}" | |
], | |
"description": "快速生成一个System" | |
}, | |
"ECS Component": { | |
"prefix": "ecscom", | |
"body": [ | |
"using Entitas;\n\n[Game]\npublic class $1Component : IComponent {\n\t$2\n}" | |
], | |
"description": "快速生成一个Component" | |
}, | |
"ECS Feature": { | |
"prefix": "ecsfeature", | |
"body": [ | |
"using System;\nusing Entitas;\n\npublic class $1 : Feature\n{\n\tpublic $1(Contexts cts) : base(\"$1\")\n\t{\n\t\t\n\t}\n}" | |
], | |
"description": "快速生成一个Feature" | |
}, | |
"ECS NetMsg InitSystem" : { | |
"prefix": "ecsnetmsginitsys", | |
"body": [ | |
"using System;\nusing System.Collections.Generic;\nusing Entitas;\nusing SuperMobs.Core;\nusing UnityEngine;\n\npublic class $1System : IInitializeSystem\n{\n\tGameContext game;\n\n\tpublic $1System(Contexts contexts)\n\t{\n\t\tgame = contexts.game;\n\t}\n\n\tpublic void Initialize()\n\t{\n\t\tNetMsgManager.Regist(typeof(SprotoType.$1), m =>\n\t\t{\n\t\t\tvar msg = m as SprotoType.$1;\n\t\t});\n\t}\n}" | |
], | |
"description": "快速生成一条网络消息处理系统" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
/* | |
// 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" | |
} | |
*/ | |
"c2s message func": { | |
"prefix": "c2s", | |
"body": [ | |
"func (_ *clientHandler) $1(m *msg.$1, agent gate.Agent) {", | |
" p := players.GetPlayerByAgent(agent)", | |
" netdata := &msg.$2{", | |
" Code: protocol.Success,", | |
" }", | |
" sendFunc := func() { ", | |
" p.NetWriteMsg(m, netdata)", | |
" }", | |
// " if p.IsNil() {", | |
// " log.Error(\"处理%s消息但是角色未登陆!?\",\"$1\")", | |
// " netdata.Code = protocol.Err_NoLogin", | |
// " sendFunc()", | |
// " return", | |
// " }", | |
" ", | |
" sendFunc()", | |
"}" | |
], | |
"description": "write a c2s msg handler function" | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
// Place your snippets for typescript 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" | |
// } | |
"cclog": { | |
"prefix": "log", | |
"body": [ | |
"cc.log(\"$1\");" | |
], | |
"description": "输出一条log利用cocos creator的日志" | |
}, | |
"ccwarn": { | |
"prefix": "warn", | |
"body": [ | |
"cc.warn(\"$1\");" | |
], | |
"description": "输出一条warn利用cocos creator的日志" | |
}, | |
"ccerror": { | |
"prefix": "error", | |
"body": [ | |
"cc.error(\"$1\");" | |
], | |
"description": "输出一条error利用cocos creator的日志" | |
}, | |
"fguiclass": { | |
"prefix": "uiclass", | |
"body": [ | |
"const { ccclass, property } = cc._decorator;\n\n@ccclass\nexport default class $1 extends cc.Component {\n private _view: fgui.GComponent;\n\n onLoad() {\n// 加载fgui这个包的资源文件\n\n fgui.UIPackage.loadPackage(\"$2\", this.onUILoaded.bind(this));\n}\n// UI加载出来了执行界面控件逻辑初始化\nonUILoaded() {\n\nfgui.UIPackage.addPackage(\"$2\");\nthis._view =fgui.UIPackage.createObject(\"\", \"\").asCom;\n\nthis._view.makeFullScreen();\nfgui.GRoot.inst.addChild(this._view);\n } \n\n onDestroy() {\nthis._view.dispose();\n}\n}" | |
], | |
"description": "创建FGUI的界面实例模板" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment