Skip to content

[RFC] Unify the running of Go applications #2013

@dlsniper

Description

@dlsniper

Hi,

After seeing yet another problem with running various type of apps (#2012 (comment)), I've started thinking that maybe the runners can be unified.

I'm thinking of having a single run configuration called Go or Go Application which has the following options for the run kind:

  • single file -> lets you select a single file -> translates into go build path/to/file.go
  • directory -> lets you select a directory -> translates into cd path/to/directory && go build .
  • package -> lets you select a package -> translates into cd $GOPATH/src/package/name && go build package/name

This way we don't use go run anymore and people are not confused on which run type to use and the plugin has less code to maintain.

What do you think?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions