x/tools/gopls: consider supporting script directories with multiple programs #41206
Labels
FeatureRequest
gopls
Issues related to the Go language server, gopls.
Thinking
Tools
This label describes issues relating to any tools in the x/tools repository.
Milestone
Currently,
gopls
only supports directories with a single main, no matter whether you open a single file or a directory. For single files, we load the entire directory, no matter what. Some users create directories with multiple mains, which they run usinggo run file.go
. Shouldgopls
support such directories? If so, how should it work?The text was updated successfully, but these errors were encountered: