@@ -23,21 +23,17 @@ extension fits your needs and enhances your development experience.
2323
24241 . Install the [ VS Code Go extension] .
2525
26- 1 . Open any directory or workspace containing Go code to automatically activate
27- the extension. The
26+ 1 . Open any Go file or go.mod file to automatically activate the extension. The
2827 [ Go status bar] ( https://github.com/golang/vscode-go/wiki/ui ) appears in the
29- bottom left corner of the window and displays your Go version.
28+ bottom right corner of the window and displays your Go version.
3029
31- 1 . The extension depends on ` go ` , ` gopls ` , ` dlv ` and other optional tools. If
32- any of the dependencies are missing, the ⚠️ ` Analysis Tools Missing ` warning
33- is displayed. Click on the warning to download dependencies.
34-
35- See the
36- [ tools documentation] ( https://github.com/golang/vscode-go/wiki/tools ) for a
37- complete list of tools the extension depends on.
30+ 1 . The extension depends on ` go ` , ` gopls ` (the Go language server), and optional
31+ tools depending on your settings. If ` gopls ` is missing, the extension will
32+ try to install it. The :zap : sign next to the Go version indicates
33+ the language server is running, and you are ready to go.
3834
3935<p align =" center " >
40- <img src =" docs/images/installtools .gif " width =75% >
36+ <img src =" docs/images/gettingstarted .gif " width =75% >
4137<br />
4238<em >(Install Missing Tools)</em >
4339</p >
@@ -52,7 +48,8 @@ You are ready to Go :-) 🎉🎉🎉
5248 and [advanced topics](https://github.com/golang/vscode-go/wiki/advanced) to
5349 customize the extension.
5450* View the [ tools documentation] ( https://github.com/golang/vscode-go/wiki/tools )
55- for a complete list of tools the VS Code Go extension depends on.
51+ for a complete list of tools the VS Code Go extension depends on. You can
52+ install additional tools and update them by using "Go: Install/Update Tools".
5653* Solve issues with the
5754 [ general troubleshooting] ( https://github.com/golang/vscode-go/wiki/troubleshooting )
5855 and [debugging troubleshooting](https://github.com/golang/vscode-go/wiki/debugging#troubleshooting)
@@ -98,7 +95,7 @@ extension.
9895<br /><em >(Toggle Test File)</em ></p >
9996
10097** ⚠️ Note** : the default syntax highlighting for Go files is provided by a
101- [ TextMate rule] ( https://github.com/jeff-hykin/better- go-syntax ) embedded in VS
98+ [ TextMate rule] ( https://github.com/worlpaker/ go-syntax ) embedded in VS
10299Code, not by this extension.
103100
104101For better syntax highlighting, we recommend enabling
@@ -136,9 +133,9 @@ nightly build of this extension. Learn how to install it in by reading the
136133
137134## Telemetry
138135
139- VS Code Go extension relies on the [ Go Telemetry] ( https://telemetry. go.dev ) to
136+ VS Code Go extension relies on the [ Go Telemetry] ( https://go.dev/doc/telemetry ) to
140137learn insights about the performance and stability of the extension and the
141- language server (`gopls`` ).
138+ language server (` gopls ` ).
142139** Go Telemetry data uploading is disabled by default** and can be enabled
143140with the following command:
144141
@@ -151,7 +148,7 @@ traces to [telemetry.go.dev](https://telemetry.go.dev). You can inspect what
151148data is collected and can be uploaded by running:
152149
153150```
154- go run golang.org/x/telemetry/cmdgotelemetry @latest view
151+ go run golang.org/x/telemetry/cmd/gotelemetry @latest view
155152```
156153
157154If we get enough adoption, this data can significantly advance the pace of
@@ -174,9 +171,8 @@ of reliability. For example:
174171These are just a few ways that telemetry can improve gopls. The [ telemetry blog
175172post series] ( https://research.swtch.com/telemetry-uses ) contains many more.
176173
177- Go telemetry is designed to be transparent and privacy-preserving. If you have
178- concerns about enabling telemetry, you can learn more at
179- [ https://telemetry.go.dev/privacy ] ( https://telemetry.go.dev/privacy ) .
174+ Go telemetry is designed to be transparent and privacy-preserving. Learn more at
175+ [ https://go.dev/doc/telemetry ] ( https://go.dev/doc/telemetry ) .
180176
181177## Contributing
182178
0 commit comments