-
Notifications
You must be signed in to change notification settings - Fork 645
go.toolsGopath is ignored when GOBIN is set #2339
Comments
You probably have Can you run |
@ramya-rao-a YES, I set
How about change all using I found vscode always repeat appending PATH, which is really annoying. |
I didn't understand this part, can you elaborate? |
@ramya-rao-a
|
The Go extension doesn't update the PATH env variable. So, I am not sure what is causing the repetition. Concluding, what we can do in the Go extension is to ignore GOBIN when PRs are welcome to fix this
|
@ramya-rao-a I shall take this up 👏 |
Is this the part where |
@ramya-rao-a What I can find is a
I'm not that sure on unsetting |
There is no need to work with the |
The latest beta version of this extension will now ignore GOBIN if you have already set |
The fix for this issue is out in the latest release(0.10.0) of the Go extension |
Steps to Reproduce:
"go.toolsGopath": "~/.vscode"
then reload.Go: Install Tools
Result:
1、The Go Tools still installed in my
$GOPATH/bin/
but except bin filegocode-gomod
2、All the Tools
source code
are placed in RIGHT place (dir go.toolsGopath which I set).The Logs show tools will installed in
toolsGopath
:The text was updated successfully, but these errors were encountered: