@@ -81,7 +81,7 @@ prepare_nightly() {
8181.displayName="Go Nightly" |
8282.publisher="golang" |
8383.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
8585' ) > /tmp/package.json && mv /tmp/package.json package.json
8686
8787 # Replace CHANGELOG.md with CHANGELOG.md + Release commit info.
@@ -92,36 +92,6 @@ prepare_nightly() {
9292 cp build/nightly/const.ts src/const.ts
9393}
9494
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-
12595main () {
12696 cd " $( root_dir) " # always run from the script root.
12797 case " $1 " in
@@ -144,9 +114,6 @@ main() {
144114 " prepare_nightly" )
145115 prepare_nightly
146116 ;;
147- " setup_env" )
148- install_dependencies
149- ;;
150117 * )
151118 usage
152119 exit 2
0 commit comments