Skip to content

Commit

Permalink
docs: fix broken links to VSCode Workspace/User Settings documentation
Browse files Browse the repository at this point in the history
Change-Id: Icdba4abbdd59e9b11224b98b4447d5b6040f8c20
Reviewed-on: https://go-review.googlesource.com/c/vscode-go/+/599596
Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
kokoro-CI: kokoro <[email protected]>
Reviewed-by: Michael Matloob <[email protected]>
Commit-Queue: Michael Matloob <[email protected]>
Reviewed-by: Hongxiang Jiang <[email protected]>
Commit-Queue: Hyang-Ah Hana Kim <[email protected]>
  • Loading branch information
Russell Webb authored and hyangah committed Jul 25, 2024
1 parent 2b8494a commit 0099728
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/gopath.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@ Still, there are a number of cases in which you might want a more complicated `G

## Different `GOPATH`s for different projects

Setting [`go.gopath`](settings.md#go.gopath) in your [user settings](https://vscode.readthedocs.io/en/latest/getstarted/settings/) overrides the environment's `GOPATH` value.
Setting [`go.gopath`](settings.md#go.gopath) in your [user settings](https://code.visualstudio.com/docs/getstarted/settings) overrides the environment's `GOPATH` value.

[Workspace settings](https://vscode.readthedocs.io/en/latest/getstarted/settings/) override user settings, so you can use the [`go.gopath`](settings.md#go.gopath) setting to set different `GOPATH`s for different projects. A `GOPATH` can also contain multiple directories, so this setting is not necessary to achieve this behavior.
[Workspace settings](https://code.visualstudio.com/docs/getstarted/settings#_workspace-settings) override user settings, so you can use the [`go.gopath`](settings.md#go.gopath) setting to set different `GOPATH`s for different projects. A `GOPATH` can also contain multiple directories, so this setting is not necessary to achieve this behavior.

## Automatically inferring your `GOPATH`

Expand Down

0 comments on commit 0099728

Please sign in to comment.