You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.
I have been attempting to migrate majority of my projects to getgb.io based vendoring/build system.
For any such projects, I use direnv to add the vendor folder (for the specific project) to $GOPATH environment variable.
Where is $GOOT and $GOPATH being set.
My current alias to initiate Visual studio from the command line is
!/bin/bash
export GOPATH=$(PWD)/vendor:$GOPATH
VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $*
Yet my $GOPATH is not being reset in visual studio to include the vendor directory
Am I missing anything here?
The text was updated successfully, but these errors were encountered:
I've been experiencing this same issue with OSX and the fish shell. I've found that it only works when your launcher script exports a new environment variable that has not been defined before but it will fail with variables like GOPATH that were probably defined already. It could be related to @lukehoban's comment: #220 (comment).
Alternatively, I'm looking at defining go.gopath in my workspace settings, it works now but I think it'd be best when variables like workspaceRoot are expanded in settings so I don't have to use absolute paths. Related issues: microsoft/vscode#3759 and microsoft/vscode#2809.
Hey
I have been attempting to migrate majority of my projects to getgb.io based vendoring/build system.
For any such projects, I use direnv to add the vendor folder (for the specific project) to $GOPATH environment variable.
Where is $GOOT and $GOPATH being set.
My current alias to initiate Visual studio from the command line is
!/bin/bash
export GOPATH=$(PWD)/vendor:$GOPATH
VSCODE_CWD="$PWD" open -n -b "com.microsoft.VSCode" --args $*
Yet my $GOPATH is not being reset in visual studio to include the vendor directory
Am I missing anything here?
The text was updated successfully, but these errors were encountered: