|
1 | 1 | {
|
2 |
| - "protoc": { |
3 |
| - "compile_on_save": false, |
4 |
| - "options": [ |
5 |
| - "--proto_path=${workspaceRoot}", |
6 |
| - "--proto_path=${workspaceRoot}/cmd/protoc-gen-gorums/dev", |
7 |
| - "--proto_path=${workspaceRoot}/third_party" |
8 |
| - ] |
9 |
| - }, |
| 2 | + "breadcrumbs.enabled": true, |
10 | 3 | "cSpell.enabled": true,
|
11 |
| - "cSpell.showStatus": true, |
12 | 4 | "cSpell.languageSettings": [
|
13 | 5 | {
|
14 | 6 | // use with Markdown files
|
|
19 | 11 | ]
|
20 | 12 | }
|
21 | 13 | ],
|
22 |
| - "cSpell.customWorkspaceDictionaries": [ |
23 |
| - { |
24 |
| - "addWords": true, |
25 |
| - "name": "gorums", |
26 |
| - "path": "${workspaceRoot}/.vscode/gorums.txt" |
27 |
| - } |
| 14 | + "cSpell.ignorePaths": [ |
| 15 | + "vscode-extension", |
| 16 | + ".git/{info,lfs,logs,refs,objects}/**", |
| 17 | + ".git/{index,*refs,*HEAD}", |
| 18 | + ".vscode", |
| 19 | + ".vscode-insiders", |
| 20 | + "go.mod", |
| 21 | + "go.sum", |
| 22 | + "go.work.sum", |
| 23 | + "**/**/*.pb.go" |
28 | 24 | ],
|
| 25 | + "editor.formatOnPaste": true, |
| 26 | + "editor.formatOnSave": true, |
| 27 | + "editor.inlineSuggest.enabled": true, |
| 28 | + "editor.codeActionsOnSave": { |
| 29 | + "source.fixAll": "explicit" |
| 30 | + }, |
| 31 | + "files.exclude": { |
| 32 | + "**/.git": true, |
| 33 | + "**/.DS_Store": true, |
| 34 | + }, |
| 35 | + "files.insertFinalNewline": true, |
| 36 | + "files.trimFinalNewlines": true, |
| 37 | + "files.trimTrailingWhitespace": true, |
| 38 | + "git.inputValidation": true, |
| 39 | + "git.inputValidationSubjectLength": 72, |
| 40 | + "git.inputValidationLength": 72, |
29 | 41 | "go.lintTool": "golangci-lint",
|
30 | 42 | "go.lintFlags": [
|
31 |
| - "--fast", |
32 |
| - ] |
| 43 | + "--fast" |
| 44 | + ], |
| 45 | + "go.useLanguageServer": true, |
| 46 | + "gopls": { |
| 47 | + "formatting.gofumpt": true, |
| 48 | + "build.directoryFilters": [ |
| 49 | + "-doc", |
| 50 | + "-x", |
| 51 | + ], |
| 52 | + // Add parameter placeholders when completing a function. |
| 53 | + "usePlaceholders": true, |
| 54 | + "staticcheck": false |
| 55 | + }, |
| 56 | + "protoc": { |
| 57 | + "compile_on_save": false, |
| 58 | + "options": [ |
| 59 | + "--proto_path=${workspaceRoot}", |
| 60 | + "--proto_path=${workspaceRoot}/cmd/protoc-gen-gorums/dev", |
| 61 | + "--proto_path=${workspaceRoot}/third_party" |
| 62 | + ] |
| 63 | + }, |
| 64 | + "clang-format.executable": "/usr/bin/clang-format", |
| 65 | + "clang-format.style": "{ IndentWidth: 4, BasedOnStyle: google, AlignConsecutiveAssignments: true, ColumnLimit: 120 }", |
| 66 | + "[proto3]": { |
| 67 | + "editor.defaultFormatter": "zxh404.vscode-proto3" |
| 68 | + }, |
| 69 | + "markdownlint.config": { |
| 70 | + "MD024": false, |
| 71 | + "default": true, |
| 72 | + "no-hard-tabs": { |
| 73 | + "code_blocks": false |
| 74 | + } |
| 75 | + }, |
| 76 | + "yaml.format.enable": true, |
| 77 | + "[yaml]": { |
| 78 | + "editor.tabSize": 4, |
| 79 | + "editor.formatOnSave": true, |
| 80 | + } |
33 | 81 | }
|
0 commit comments