-
Notifications
You must be signed in to change notification settings - Fork 646
VS tell me my $GOPATH is wrong #708
Comments
Run the command |
I have the same problem. It only works if I manually add "go.gopath" into the settings.json which is far from ideal. |
@skmlcd Can you try opening VS Code from the command line? |
Opening from command line works without the problem (GOPATH is correct). |
This is the desktop file (shortcut) for launching vscode. Tell me if there is anything else I can provide to help with any potential bug. :) |
@skmlcd In that case, this is as expected. @Tyriar Can you confirm the above statement, in case my understanding is wrong? |
Yes this is likely a case of confusion with |
@Tyriar Thanks, putting it in .profile that solved the problem. |
The vs code show that :
But my $GOPATH is :
➜ ~ echo $GOPATH
/Users/Elegant/go
The text was updated successfully, but these errors were encountered: