Skip to content

changing flags for the run command to "." #38

@paulwalk

Description

@paulwalk

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!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions