/ go Public
x/tools/gopls: consider supporting script directories with multiple programs #41206
Issues related to the Go language server, gopls.
This label describes issues relating to any tools in the x/tools repository.
goplsonly 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 using
go run file.go. Should
goplssupport such directories? If so, how should it work?
The text was updated successfully, but these errors were encountered: