Check in default vscode settings (#8319)

Currently this is just setting go.buildTags to "all" so the language
specific tests are included in build and test commands by default.

Missing this leads to the confusing (at least to new people) behavior
of clicking run test on a test method and vscode then saying there is no
test to run.
This commit is contained in:
Fraser Waters 2021-11-01 15:15:21 +00:00 committed by GitHub
parent d39a14432f
commit 6890b9acc9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 1 deletions

5
.gitignore vendored
View File

@ -2,7 +2,7 @@
**/vendor/
**/node_modules/
**/bin
**/.vscode/
**/.vscode/**/*
**/.vs/
**/.ionide/
**/.idea/
@ -17,6 +17,9 @@ coverage.cov
# VSCode creates this binary when running tests in the debugger
**/debug.test
# Check in vscode settings for this workspace. This is so we can save common settings like setting go build tags to use by default.
!**/.vscode/settings.json
# Go tests run "in tree" and this folder will linger if they fail (the integration test framework cleans
# it up when they pass.)
**/command-output/

3
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,3 @@
{
"go.buildTags": "all"
}