I want to achieve the conventional execution of go run . in Sublime Text 3 using the go sublime-build package.
I had thought that I could edit my user settings by going to:
Preferences / Package Settings / Golang Control / Settings - User
and inserting the following:
{
"settings": {
"golang": {
"run:flags": ["-v", "."]
}
}
}
But this has no effect (even with a restart). I can see that selecting the go run build is actually applied to the currently open file, rather than the containing folder.
EDIT: I have also tried this in a 'project' file as suggested in these docs - still no effect.
Any advice welcome!
I want to achieve the conventional execution of
go run .in Sublime Text 3 using the go sublime-build package.I had thought that I could edit my user settings by going to:
Preferences / Package Settings / Golang Control / Settings - Userand inserting the following:
But this has no effect (even with a restart). I can see that selecting the
go runbuild is actually applied to the currently open file, rather than the containing folder.EDIT: I have also tried this in a 'project' file as suggested in these docs - still no effect.
Any advice welcome!