#vscode run help

11 messages · Page 1 of 1 (latest)

reef moon
#

I'm writing Go in vscode and am finding it annoying wanting to use the Run button in the top-right when it seems to run the equivalent of go run main.go instead of a go run . which would run all Go files in the directory. it also makes it hard or impossile to use the vscode debugger. Any tips for this?

ancient orchid
ancient orchid
#

does hitting the top right do go run main.go every time or does it run the current file

reef moon
#

current file i think

ancient orchid
#

on the left menu do u see the run button

reef moon
ancient orchid
#

yeah

reef moon
ancient orchid
#

that's the run button you can use with ur launch.json

reef moon
#

ok