Skip to content

Add a setting to remove variables from document symbols #20403

@ChayimFriedman2

Description

@ChayimFriedman2

Is there a vs-code side settings to remove variables from the "goto document symbol" popup? The thing at the top left on the screenshot:

image

It looks like there isn't, so I think it's worth adding a server-side settings here. Going to function/type in the same document by name is one of the most useful navigation abilities of an IDE, and polluting namespace with locals make this features significantly less useful (in particular, less useful than just grepping for fn prefix)

Originally posted by @matklad in #18312 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-configconfigurationA-idegeneral IDE featuresE-has-instructionsIssue has some instructions and pointers to code to get started

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions