mirror of
https://github.com/golang/go
synced 2024-11-18 10:24:42 -07:00
gopls/doc: add instructions for VSCode remote development
Change-Id: I0a7e9feea556e21b2feb0540136f957de98526c0 Reviewed-on: https://go-review.googlesource.com/c/tools/+/195981 Reviewed-by: Ian Cottrell <iancottrell@google.com>
This commit is contained in:
parent
3b4f30a44f
commit
bbfbbc9265
@ -48,3 +48,11 @@ You can disable features through the `"go.languageServerExperimentalFeatures"` s
|
|||||||
|
|
||||||
|
|
||||||
[VSCode-Go]: https://github.com/microsoft/vscode-go
|
[VSCode-Go]: https://github.com/microsoft/vscode-go
|
||||||
|
|
||||||
|
# VSCode Remote Development with gopls
|
||||||
|
|
||||||
|
You can also make use of `gopls` with the [VSCode Remote Development](https://code.visualstudio.com/docs/remote/remote-overview) extensions to enable full-featured Go development on a lightweight client machine, while connected to a more powerful server machine.
|
||||||
|
|
||||||
|
First, install the Remote Development extension of your choice, such as the [Remote - SSH](https://code.visualstudio.com/docs/remote/ssh) extension. Once you open a remote session in a new window, open the Extensions pane (Ctrl+Shift+X) and you will see several different sections listed. In the "Local - Installed" section, navigate to the Go extension and click "Install in SSH: hostname".
|
||||||
|
|
||||||
|
Once you have reloaded VSCode, you will be prompted to install `gopls` and other Go-related tools. After one more reload, you should be ready to develop remotely with VSCode and the Go extension.
|
||||||
|
Loading…
Reference in New Issue
Block a user