@@ -81,7 +81,7 @@ prepare_nightly() {
81
81
.displayName="Go Nightly" |
82
82
.publisher="golang" |
83
83
.description="Rich Go language support for Visual Studio Code (Nightly)" |
84
- .contributes.configuration.properties."go.useLanguageServer ".default=true
84
+ .contributes.configuration.properties."go.delveConfig.hideSystemGoroutines ".default=true
85
85
' ) > /tmp/package.json && mv /tmp/package.json package.json
86
86
87
87
# Replace CHANGELOG.md with CHANGELOG.md + Release commit info.
@@ -92,36 +92,6 @@ prepare_nightly() {
92
92
cp build/nightly/const.ts src/const.ts
93
93
}
94
94
95
- # setup dependencies required for tests.
96
- install_dependencies () {
97
- # TARGET is where `go get` will output the compiled binaries.
98
- local GOPATHS=` go env GOPATH`
99
- local TARGET=" ${GOBIN} "
100
- if [[ -z " ${GOBIN} " ]]; then TARGET=" ${GOPATHS%%:* } /bin" ; fi
101
-
102
- GO111MODULE=on go install golang.org/x/tools/gopls@latest
103
- GO111MODULE=on go install github.com/acroca/go-symbols@latest
104
- GO111MODULE=on go install github.com/cweill/gotests/gotests@latest
105
- GO111MODULE=on go install github.com/davidrjenni/reftools/cmd/fillstruct@latest
106
- GO111MODULE=on go install github.com/haya14busa/goplay/cmd/goplay@latest
107
-
108
- # We install two versions of gocode, one for module mode (gocode-gomod)
109
- # and another for GOPATH mode (gocode).
110
- GO111MODULE=on go install github.com/stamblerre/gocode@latest && mv " ${TARGET} /gocode" " ${TARGET} /gocode-gomod"
111
- GO111MODULE=on go install github.com/mdempsky/gocode@latest
112
-
113
- GO111MODULE=on go install github.com/ramya-rao-a/go-outline@latest
114
- GO111MODULE=on go install github.com/rogpeppe/godef@latest
115
- GO111MODULE=on go install github.com/sqs/goreturns@latest
116
- GO111MODULE=on go install github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest
117
- GO111MODULE=on go install github.com/zmb3/gogetdoc@latest
118
- GO111MODULE=on go install honnef.co/go/tools/cmd/staticcheck@latest
119
- GO111MODULE=on go install golang.org/x/tools/cmd/gorename@latest
120
-
121
- GO111MODULE=on go install github.com/go-delve/delve/cmd/dlv@master && cp " ${TARGET} /dlv" " ${TARGET} /dlv-dap"
122
- GO111MODULE=on go install github.com/go-delve/delve/cmd/dlv@latest
123
- }
124
-
125
95
main () {
126
96
cd " $( root_dir) " # always run from the script root.
127
97
case " $1 " in
@@ -144,9 +114,6 @@ main() {
144
114
" prepare_nightly" )
145
115
prepare_nightly
146
116
;;
147
- " setup_env" )
148
- install_dependencies
149
- ;;
150
117
* )
151
118
usage
152
119
exit 2
0 commit comments