Skip to content

Instantly share code, notes, and snippets.

@imzhongqi
Last active March 16, 2021 08:16
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 imzhongqi/fdb684af6aec98c6c082ddfa27b3656b to your computer and use it in GitHub Desktop.
Save imzhongqi/fdb684af6aec98c6c082ddfa27b3656b to your computer and use it in GitHub Desktop.
vscode setting
{"lastUpload":"2021-03-16T08:16:13.990Z","extensionVersion":"v3.4.3"}
[
{
"metadata": {
"id": "7a0110bb-231a-4598-aa1b-0769ea46d28b",
"publisherId": "aaron-bond.better-comments",
"publisherDisplayName": "aaron-bond"
},
"name": "better-comments",
"publisher": "aaron-bond",
"version": "2.1.0"
},
{
"metadata": {
"id": "464f4ac7-af65-4aa9-9907-4ba7fa419085",
"publisherId": "bungcip.better-toml",
"publisherDisplayName": "bungcip"
},
"name": "better-toml",
"publisher": "bungcip",
"version": "0.3.2"
},
{
"metadata": {
"id": "5a6e2b21-1d61-4acd-b31b-907f9c23f18a",
"publisherId": "CoenraadS.bracket-pair-colorizer-2",
"publisherDisplayName": "CoenraadS"
},
"name": "bracket-pair-colorizer-2",
"publisher": "CoenraadS",
"version": "0.2.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": "85668beb-15e7-48c4-86a1-6a02f3133292",
"publisherId": "intellsmi.comment-translate",
"publisherDisplayName": "intellsmi"
},
"name": "comment-translate",
"publisher": "intellsmi",
"version": "1.4.2"
},
{
"metadata": {
"id": "690b692e-e8a9-493f-b802-8089d50ac1b2",
"publisherId": "ms-vscode.cpptools",
"publisherDisplayName": "ms-vscode"
},
"name": "cpptools",
"publisher": "ms-vscode",
"version": "1.2.2"
},
{
"metadata": {
"id": "6a95a3fd-3a5d-4326-b8ab-1b1653b1f183",
"publisherId": "serayuzgur.crates",
"publisherDisplayName": "serayuzgur"
},
"name": "crates",
"publisher": "serayuzgur",
"version": "0.5.7"
},
{
"metadata": {
"id": "2fd22b8e-b3b8-4e7f-9a28-a5e2d1bdd0d4",
"publisherId": "webfreak.debug",
"publisherDisplayName": "webfreak"
},
"name": "debug",
"publisher": "webfreak",
"version": "0.25.0"
},
{
"metadata": {
"id": "5960f38e-0bbe-4644-8f9c-9c8824e82511",
"publisherId": "donjayamanne.githistory",
"publisherDisplayName": "donjayamanne"
},
"name": "githistory",
"publisher": "donjayamanne",
"version": "0.6.16"
},
{
"metadata": {
"id": "4de763bd-505d-4978-9575-2b7696ecf94e",
"publisherId": "eamodio.gitlens",
"publisherDisplayName": "eamodio"
},
"name": "gitlens",
"publisher": "eamodio",
"version": "11.3.0"
},
{
"metadata": {
"id": "d6f6cfea-4b6f-41f4-b571-6ad2ab7918da",
"publisherId": "golang.go",
"publisherDisplayName": "golang"
},
"name": "go",
"publisher": "golang",
"version": "0.23.2"
},
{
"metadata": {
"id": "c6d564c4-ca8c-45ba-abf6-c85f2d1468d8",
"publisherId": "jdinhlife.gruvbox",
"publisherDisplayName": "jdinhlife"
},
"name": "gruvbox",
"publisher": "jdinhlife",
"version": "1.4.0"
},
{
"metadata": {
"id": "1b747f06-3789-4ebd-ac99-f1fe430c3347",
"publisherId": "alefragnani.project-manager",
"publisherDisplayName": "alefragnani"
},
"name": "project-manager",
"publisher": "alefragnani",
"version": "12.0.1"
},
{
"metadata": {
"id": "93ce222b-5f6f-49b7-9ab1-a0463c6238df",
"publisherId": "ms-vscode-remote.remote-containers",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-containers",
"publisher": "ms-vscode-remote",
"version": "0.163.2"
},
{
"metadata": {
"id": "607fd052-be03-4363-b657-2bd62b83d28a",
"publisherId": "ms-vscode-remote.remote-ssh",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh",
"publisher": "ms-vscode-remote",
"version": "0.65.1"
},
{
"metadata": {
"id": "bfeaf631-bcff-4908-93ed-fda4ef9a0c5c",
"publisherId": "ms-vscode-remote.remote-ssh-edit",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "remote-ssh-edit",
"publisher": "ms-vscode-remote",
"version": "0.65.1"
},
{
"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.54.5"
},
{
"metadata": {
"id": "570e6089-b871-41df-9cf4-a723cb34ef01",
"publisherId": "rust-lang.rust",
"publisherDisplayName": "rust-lang"
},
"name": "rust",
"publisher": "rust-lang",
"version": "0.7.8"
},
{
"metadata": {
"id": "53c3207b-73df-433b-90ad-785b5023f403",
"publisherId": "wayou.vscode-icons-mac",
"publisherDisplayName": "wayou"
},
"name": "vscode-icons-mac",
"publisher": "wayou",
"version": "7.25.3"
},
{
"metadata": {
"id": "bee31e34-a44b-4a76-9ec2-e9fd1439a0f6",
"publisherId": "vadimcn.vscode-lldb",
"publisherDisplayName": "vadimcn"
},
"name": "vscode-lldb",
"publisher": "vadimcn",
"version": "1.6.1"
},
{
"metadata": {
"id": "caf8995c-5426-4bf7-9d01-f7968ebd49bb",
"publisherId": "asvetliakov.vscode-neovim",
"publisherDisplayName": "asvetliakov"
},
"name": "vscode-neovim",
"publisher": "asvetliakov",
"version": "0.0.78"
},
{
"metadata": {
"id": "1d3d1fb2-0d8f-47ed-bfce-990b8ddfc9d8",
"publisherId": "zxh404.vscode-proto3",
"publisherDisplayName": "zxh404"
},
"name": "vscode-proto3",
"publisher": "zxh404",
"version": "0.5.3"
},
{
"metadata": {
"id": "23d72dfc-8dd1-4e30-926e-8783b4378f13",
"publisherId": "ms-vscode-remote.vscode-remote-extensionpack",
"publisherDisplayName": "ms-vscode-remote"
},
"name": "vscode-remote-extensionpack",
"publisher": "ms-vscode-remote",
"version": "0.20.0"
},
{
"metadata": {
"id": "28fcf0b8-26a5-4e99-9b8d-02e990366c6f",
"publisherId": "tombonnike.vscode-status-bar-format-toggle",
"publisherDisplayName": "tombonnike"
},
"name": "vscode-status-bar-format-toggle",
"publisher": "tombonnike",
"version": "2.0.0"
},
{
"metadata": {
"id": "2061917f-f76a-458a-8da9-f162de22b97e",
"publisherId": "redhat.vscode-yaml",
"publisherDisplayName": "redhat"
},
"name": "vscode-yaml",
"publisher": "redhat",
"version": "0.16.0"
}
]
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+c",
"command": "-workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFindWidgetFocused"
},
{
"key": "alt+c",
"command": "-workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFocus"
},
{
"key": "ctrl+e",
"command": "-workbench.action.quickOpen"
},
{
"key": "alt+c",
"command": "-workbench.action.terminal.toggleFindCaseSensitive",
"when": "terminalFindWidgetFocused || terminalFocus"
},
{
"key": "ctrl+b",
"command": "-workbench.action.toggleSidebarVisibility"
},
{
"key": "ctrl+b",
"command": "workbench.action.tasks.build"
},
{
"key": "ctrl+shift+b",
"command": "-workbench.action.tasks.build"
},
{
"key": "alt+r",
"command": "-workbench.action.terminal.toggleFindRegex",
"when": "terminalFindWidgetFocused || terminalFocus"
},
{
"key": "alt+w",
"command": "-workbench.action.terminal.toggleFindWholeWord",
"when": "terminalFindWidgetFocused || terminalFocus"
},
{
"key": "ctrl+backspace",
"command": "-workbench.action.terminal.deleteWordLeft",
"when": "terminalFocus"
},
{
"key": "ctrl+shift+j",
"command": "-workbench.action.search.toggleQueryDetails",
"when": "inSearchEditor || searchViewletFocus"
},
{
"key": "ctrl+j",
"command": "-workbench.action.togglePanel"
}
]
// Place your key bindings in this file to override the defaults
[
{
"key": "alt+space",
"command": "editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
},
{
"key": "alt+escape",
"command": "-editor.action.triggerSuggest",
"when": "editorHasCompletionItemProvider && textInputFocus && !editorReadonly"
}
]
{
/****************************************** editor configuation *******************************************/
"editor.fontLigatures": true,
"editor.renderWhitespace": "all",
"editor.fontFamily": "OperatorMonoSSmLig Nerd Font, Menlo, Monaco, 'Courier New', monospace",
"editor.fontSize": 14,
"editor.lineHeight": 26,
"editor.formatOnType": true,
"editor.formatOnPaste": true,
"editor.formatOnSave": true,
"editor.suggestSelection": "first",
"editor.fontWeight": "normal",
"editor.renderControlCharacters": false,
/****************************************** terminal configuation *******************************************/
"terminal.integrated.fontFamily": "'MesloLGS NF','FiraCode Nerd Font Retina', 'Cascadia Code', 'Fira Code', 'Microsoft YaHei'",
"terminal.integrated.fontWeight": "500",
"terminal.integrated.lineHeight": 1.5,
"terminal.integrated.scrollback": 3000,
"terminal.integrated.cursorBlinking": true,
"terminal.integrated.showExitAlert": false,
/****************************************** other configuation *******************************************/
"window.title": "${dirty}${rootName}${separator}${activeEditorShort}",
"files.autoSave": "onFocusChange",
"files.eol": "\n",
"workbench.startupEditor": "none",
"workbench.iconTheme": "vscode-icons-mac",
"workbench.colorCustomizations": {},
"workbench.colorTheme": "Gruvbox Dark Hard",
"git.confirmSync": false,
"http.proxy": "http://localhost:1080",
/****************************************** files configuation *******************************************/
"[yaml]": {
"editor.tabSize": 2,
"editor.quickSuggestions": {
"other": true,
"comments": false,
"strings": true
}
},
"[go]": {
"editor.snippetSuggestions": "top",
"editor.codeActionsOnSave": {
"source.organizeImports": true
},
},
"[go.mod]": {
"editor.formatOnSave": true,
"editor.codeActionsOnSave": {
"source.organizeImports": false
},
},
/****************************************** plugins configuation *******************************************/
// vscode-proto3
"protoc": {
"compile_on_save": true,
"options": [
"--proto_path=.",
"--proto_path=${env.GOPATH}/src",
"--proto_path=${env.GOPATH}/src/github.com/envoyproxy/protoc-gen-validate",
"--go_out=paths=source_relative:.",
"--micro_out=paths=source_relative:.",
"--validate_out=lang=go,paths=source_relative:.",
]
},
// clang-format for format protobuffer
"clang-format.style": "{BasedOnStyle: llvm, IndentWidth: 2, ColumnLimit: 120}",
"sync.gist": "fdb684af6aec98c6c082ddfa27b3656b",
"git.autofetch": true,
"extensions.ignoreRecommendations": true,
"debug.allowBreakpointsEverywhere": true,
"vscode-neovim.neovimExecutablePaths.darwin": "nvim",
}
{
"version": "7.25.3",
"status": 2,
"welcomeShown": true
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment