Skip to content

Filter by LSP modifier (e.g.: only see LSP references where variable is modified) #3625

@ilan-schemoul

Description

@ilan-schemoul

Is your feature request related to a problem? Please describe.
I use lsp references to list references, but I freqeuently only want to see where variable is modified.
I have go to defintinion, but it only shows the definition which is not what I want.
It's a very frequent problem in large codebases, if 200 places reads my variable, and 2/3 modifies it it's incredibly tedious to find which is which.

Describe the solution you'd like
Use LSP modifier (readonly, modified) etc. to filter results.

Either natively, or explain how it be done by third parties

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementEnhancement to performance, inner workings or existent features

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions