-
Notifications
You must be signed in to change notification settings - Fork 645
is there a way to "build and run package" ? #299
Comments
Is there any news on this, or have you been able to resolve this? |
Assuming your launch config is set to point to the package, wouldn't just hitting |
Looks like this should be doable as per microsoft/vscode#2780 |
In the latest update (0.6.56), you can |
@ramya-rao-a it is a pity that the example of
|
@gosp We do send GOPATH as configured in I have similar setting as yours where
|
vscode golang extension is installed Errors:
The error means it can't find package which is in vendor folder. .vscode\launch.json
|
I'm new to vs code(from "IntelliJ IDEA"), in my practise, "build and run package" in IDEA is very usefull.
For me, the only way to accomplish this is to create a tasks.json like this:
then command + shift + B to build and command + shift + T to run a test.
unfortunately, the shell console doesn't accept input "ctrl-c", so i can't stop the program after startup.
Is there any quick way to "build and run package"?
I know debugging package is working, but not sure if it will cause performance issue or not.
The text was updated successfully, but these errors were encountered: