Skip to content

User-defined language servers: a client setting to turn off workspace symbols (Search Everywhere) for one server #2203

Backlog

Description

@lagergren

What

A user-defined language server's workspace/symbol results show in Search Everywhere: under Symbols, and under Classes when workspaceSymbol.supportsGotoClass is set.

When another plugin already provides the symbols of the language, as the Scala plugin does next to Metals in #722, the user can't turn the server's symbols off without turning off the whole server.

  • A plugin can, by overriding LSPWorkspaceSymbolFeature.isEnabled in its LSPClientFeatures.
  • A user-defined language server has only workspaceSymbol.supportsGotoClass in its client configuration.

Proposal

  • Add workspaceSymbol.enabled to the client configuration of user-defined language servers, defaulting to true.
  • LSPWorkspaceSymbolFeature.isEnabled reads it.
  • Document it with the other client settings.

Related

#722. Its hangs are fixed by #2049 and #2085.

Activity

  1. added this to the Backlog milestone on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions