github.com/quickfeed/quickfeed@v0.0.0-20240507093252-ed8ca812a09c/quickfeed.code-workspace (about)

     1  {
     2  	"folders": [
     3  		{
     4  			"path": "."
     5  		},
     6  		{
     7  			"path": "kit"
     8  		}
     9  	],
    10  	"settings": {
    11  		"editor.formatOnPaste": true,
    12  		"editor.formatOnSave": true,
    13  		"editor.inlineSuggest.enabled": true,
    14  		"editor.codeActionsOnSave": {
    15  			"source.fixAll": "explicit"
    16  		},
    17  		"protoc": {
    18  			"compile_on_save": false,
    19  			"options": [
    20  				"--proto_path=${workspaceFolder}",
    21  				"--proto_path=${workspaceFolder}/kit/score/",
    22  				"--proto_path=`go list -m -f {{.Dir}} google.golang.org/protobuf`",
    23  				"--proto_path=`go list -m -f {{.Dir}} github.com/alta/protopatch`"
    24  			]
    25  		},
    26  		"cSpell.enabled": true,
    27  		"cSpell.enableFiletypes": [
    28  			"plaintext"
    29  		],
    30  		"files.exclude": {
    31  			"**/.git": true,
    32  			"**/.DS_Store": true,
    33  			"**/node_modules": true,
    34  			"x": true,
    35  		},
    36  		"files.insertFinalNewline": true,
    37  		"files.trimFinalNewlines": true,
    38  		"files.trimTrailingWhitespace": true,
    39  		"eslint.alwaysShowStatus": true,
    40  		"eslint.format.enable": true,
    41  		"typescript.implementationsCodeLens.enabled": true,
    42  		"typescript.referencesCodeLens.enabled": true,
    43  		"typescript.format.enable": true,
    44  		"typescript.suggest.completeFunctionCalls": true,
    45  		"typescript.autoClosingTags": true,
    46  		"typescript.format.semicolons": "remove",
    47  		"[typescript]": {
    48  			"editor.defaultFormatter": "vscode.typescript-language-features",
    49  		},
    50  		"[typescriptreact]": {
    51  			"editor.defaultFormatter": "vscode.typescript-language-features"
    52  		},
    53  		"[javascript]": {
    54  			"editor.defaultFormatter": "vscode.typescript-language-features"
    55  		},
    56  		"[proto3]": {
    57  			"editor.defaultFormatter": "zxh404.vscode-proto3"
    58  		},
    59  		"go.lintTool": "golangci-lint",
    60  		"go.lintFlags": [
    61  			"--fast"
    62  		],
    63  		"go.useLanguageServer": true,
    64  		"gopls": {
    65  			"formatting.gofumpt": true,
    66  			"build.directoryFilters": [
    67  				"-public",
    68  				"-doc",
    69  				"-dev",
    70  				"-x",
    71  			],
    72  			// Add parameter placeholders when completing a function.
    73  			"usePlaceholders": true,
    74  			"staticcheck": false,
    75  		    "buildFlags": ["-tags=race"]
    76  		},
    77  		"breadcrumbs.enabled": true,
    78  		"clang-format.executable": "/usr/bin/clang-format",
    79  		"clang-format.style": "{ IndentWidth: 4, BasedOnStyle: google, AlignConsecutiveAssignments: true, ColumnLimit: 120 }",
    80  		"markdownlint.config": {
    81  			"MD024": false,
    82  			"default": true,
    83  			"no-hard-tabs": {
    84  				"code_blocks": false
    85  			}
    86  		},
    87  		"yaml.format.enable": true,
    88  		"[yaml]": {
    89  			"editor.tabSize": 2,
    90  			"editor.formatOnSave": true,
    91  		},
    92  	},
    93  }