Skip to content

x/tools/gopls: increase max number of completion candidates for unimported packages #60988

Open
golang/tools
#442
@110y

Description

@110y

This is a feature request.

gopls version

latest master branch (fa10359)

What did you want to see?

  • Make the max number of completion candidates for unimported packages configurable.

What did you see instead?

The current implementation uses hard-coded number (5) for the unimported package completion. Though I know the unimported package completion is expensive, I think it's worth making the number of candidates for it configurable (actually, I'm using my own forked version of gopls that uses over 100 for unimported completion candidates for a long time.)

Metadata

Metadata

Assignees

No one assigned

    Labels

    FeatureRequestIssues asking for a new feature that does not need a proposal.ToolsThis label describes issues relating to any tools in the x/tools repository.goplsIssues related to the Go language server, gopls.gopls/completionIssues related to auto-completion in gopls.

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions