Skip to content

Commit d5dddfa

Browse files
committed
[release] prepare v0.19.0 release
Change-Id: I61d0614fca3b7cd9dbd7525c7b4c6d2414282b51
2 parents cb22953 + 2f0623c commit d5dddfa

File tree

99 files changed

+1584
-300
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

99 files changed

+1584
-300
lines changed

.github/workflows/release-nightly.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: '10.x'
2828

2929
- name: Setup Go
30-
uses: actions/setup-go@v1
30+
uses: actions/setup-go@v2
3131
with:
3232
go-version: '1.15'
3333

.github/workflows/test-long.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
node-version: '10.x'
3232

3333
- name: Setup Go
34-
uses: actions/setup-go@v1
34+
uses: actions/setup-go@v2
3535
with:
3636
go-version: '1.15'
3737

.github/workflows/test-smoke.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
node-version: '10.x'
2828

2929
- name: Setup Go
30-
uses: actions/setup-go@v1
30+
uses: actions/setup-go@v2
3131
with:
3232
go-version: '1.15'
3333

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ dist/
33
node_modules/
44
.vscode-test/
55
.DS_Store
6+
.user-data-dir-test/

.vscode/launch.json

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@
1818
"sourceMaps": true,
1919
"smartStep": true,
2020
"preLaunchTask": "npm: webpack",
21+
"env": {
22+
"VSCODE_GO_IN_TEST": "" // Enable code
23+
},
2124
},
2225
{
2326
"name": "Launch as server",
@@ -61,13 +64,18 @@
6164
"--disable-extensions",
6265
"--extensionDevelopmentPath=${workspaceFolder}",
6366
"--extensionTestsPath=${workspaceFolder}/out/test/integration/index",
67+
"--user-data-dir=${workspaceFolder}/.user-data-dir-test",
6468
"--timeout",
6569
"999999"
6670
],
71+
"env": {
72+
"VSCODE_GO_IN_TEST": "1" // Disable code that shouldn't be used in test
73+
},
6774
"stopOnEntry": false,
6875
"sourceMaps": true,
6976
"smartStep": true,
7077
"outFiles": [
78+
"${workspaceFolder}/out/**/*.js",
7179
"${workspaceFolder}/out/test/**/*.js"
7280
],
7381
"preLaunchTask": "npm: watch"
@@ -82,12 +90,16 @@
8290
"--disable-extensions",
8391
"--extensionDevelopmentPath=${workspaceFolder}",
8492
"--extensionTestsPath=${workspaceFolder}/out/test/gopls/index",
93+
"--user-data-dir=${workspaceFolder}/.user-data-dir-test",
8594
"--timeout", "999999",
86-
"${workspaceFolder}/test/gopls/testfixtures/src/workspace" // gopls requires a workspace to work with.
8795
],
96+
"env": {
97+
"VSCODE_GO_IN_TEST": "1" // Disable code that shouldn't be used in test
98+
},
8899
"stopOnEntry": false,
89100
"sourceMaps": true,
90101
"outFiles": [
102+
"${workspaceFolder}/out/**/*.js",
91103
"${workspaceFolder}/out/test/**/*.js"
92104
],
93105
"preLaunchTask": "npm: watch",

.vscode/settings.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
},
1212
"editor.insertSpaces": false,
1313
"typescript.tsdk": "node_modules\\typescript\\lib",
14-
}
14+
}

build/Dockerfile

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,18 @@ RUN /scratch/build/all.bash setup_env
1212

1313
FROM node:latest
1414

15+
# Prepare a home directory under workspace.
16+
RUN mkdir -p /workspace/vscodego
17+
ENV HOME=/workspace/vscodego
18+
1519
# GO111MODULE=auto
1620
RUN mkdir /go
1721
COPY --from=gobuilder /gobin /go/bin
1822
COPY --from=gobuilder /usr/local/go /usr/local/go
1923

20-
ENV GOPATH /go
21-
ENV PATH ${GOPATH}/bin:/usr/local/go/bin:${PATH}
24+
# Add the default GOPATH/bin to the PATH.
25+
# Add the directories of the go tool chains to PATH.
26+
ENV PATH /workspace/vscodego/go/bin:/go/bin:/usr/local/go/bin:${PATH}
2227
ENV DEBIAN_FRONTEND noninteractive
2328

2429
RUN apt-get update && apt-get install -y libnss3 libgtk-3-dev libxss1 libasound2 xvfb libsecret-1-0

build/all.bash

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -89,20 +89,20 @@ prepare_nightly() {
8989

9090
# setup dependencies required for tests.
9191
install_dependencies() {
92-
GO111MODULE=on go get -x golang.org/x/tools/gopls
93-
GO111MODULE=on go get -x github.com/acroca/go-symbols
94-
GO111MODULE=on go get -x github.com/cweill/gotests/...
95-
GO111MODULE=on go get -x github.com/davidrjenni/reftools/cmd/fillstruct
96-
GO111MODULE=on go get -x github.com/haya14busa/goplay/cmd/goplay
97-
GO111MODULE=on go get -x github.com/mdempsky/gocode
98-
GO111MODULE=on go get -x github.com/ramya-rao-a/go-outline
99-
GO111MODULE=on go get -x github.com/rogpeppe/godef
100-
GO111MODULE=on go get -x github.com/sqs/goreturns
101-
GO111MODULE=on go get -x github.com/uudashr/gopkgs/v2/cmd/gopkgs
102-
GO111MODULE=on go get -x github.com/zmb3/gogetdoc
103-
GO111MODULE=on go get -x golang.org/x/lint/golint
104-
GO111MODULE=on go get -x golang.org/x/tools/cmd/gorename
105-
GO111MODULE=on go get -x github.com/go-delve/delve/cmd/dlv
92+
GO111MODULE=on go get golang.org/x/tools/gopls
93+
GO111MODULE=on go get github.com/acroca/go-symbols
94+
GO111MODULE=on go get github.com/cweill/gotests/...
95+
GO111MODULE=on go get github.com/davidrjenni/reftools/cmd/fillstruct
96+
GO111MODULE=on go get github.com/haya14busa/goplay/cmd/goplay
97+
GO111MODULE=on go get github.com/mdempsky/gocode
98+
GO111MODULE=on go get github.com/ramya-rao-a/go-outline
99+
GO111MODULE=on go get github.com/rogpeppe/godef
100+
GO111MODULE=on go get github.com/sqs/goreturns
101+
GO111MODULE=on go get github.com/uudashr/gopkgs/v2/cmd/gopkgs
102+
GO111MODULE=on go get github.com/zmb3/gogetdoc
103+
GO111MODULE=on go get golang.org/x/lint/golint
104+
GO111MODULE=on go get golang.org/x/tools/cmd/gorename
105+
GO111MODULE=on go get github.com/go-delve/delve/cmd/dlv
106106
}
107107

108108
main() {

docs/nightly.md

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,6 @@ This master branch of this extension is built and published nightly through the
44

55
[Go Nightly] is the **preview** version of the Go extension, so it may be broken or unstable at times. The [Changelog](nightly/CHANGELOG.md) and [README](nightly/README.md) for [Go Nightly] can be found in the [docs/nightly](nightly/) directory.
66

7-
If you try out [Go Nightly], please file issues when you notice bugs. You can also join the maintainers in the [#vscode-dev](https://gophers.slack.com/archives/CUWGEKH5Z) channel on the [Gophers Slack](https://invite.slack.golangbridge.org/).
8-
97
## Installation
108

119
To use the [Go Nightly] extension (`golang.go-nightly`), you **must** first disable the standard Go extension (`golang.go`). The two are not compatible and will cause conflicts if enabled simultaneously.
@@ -16,6 +14,14 @@ Otherwise, you can disable it temporarily. To do so, open the Extensions view in
1614

1715
Once you have uninstalled or disabled the standard Go extension, search for [Go Nightly] in the VS Code Marketplace and install it instead.
1816

17+
## Feedback
18+
19+
If you use [Go Nightly], please share your feedback or bug reports by [filing an issue]. You can also speak to the maintainers directly in the [#vscode-dev](https://gophers.slack.com/archives/CUWGEKH5Z) channel on the [Gophers Slack].
20+
21+
### Community
22+
23+
Go Nightly users are encouraged to discuss issues and share feedback in the [#vscode-go-nightly](https://gophers.slack.com/archives/C01DQ2KBMNU) channel on [Gophers Slack] or on the [Go Nightly mailing list](https://groups.google.com/g/vscode-go-nightly). The VS Code Go maintainers may send communications to these channels to request feedback as well.
24+
1925
## Releases
2026

2127
A new version of [Go Nightly], based on the repository's current [`master` branch](https://go.googlesource.com/vscode-go/+/refs/heads/master), will be released at least once a day between Monday and Thursday. If there are no new commits at master, a new version **will not** be released.
@@ -33,3 +39,5 @@ Pre-releases of the Go extension will be made available on the [Releases page](h
3339
**Note**: If you install an extension from a VSIX file, you will stop receiving automatic prompts when updates are released.
3440

3541
[Go Nightly]: https://marketplace.visualstudio.com/items?itemName=golang.go-nightly
42+
[filing an issue]: https://github.com/golang/vscode-go/issues/new/choose
43+
[Gophers Slack]: https://invite.slack.golangbridge.org/

docs/settings.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ Default:{<br/>
2929
&nbsp;&nbsp;`"options": "json=omitempty"`,<br/>
3030
&nbsp;&nbsp;`"promptForTags": false`,<br/>
3131
&nbsp;&nbsp;`"tags": "json"`,<br/>
32+
&nbsp;&nbsp;`"template": ""`,<br/>
3233
&nbsp;&nbsp;`"transform": "snakecase"`,<br/>
3334
}
3435

0 commit comments

Comments
 (0)