Skip to content

LSP: support outline feature #1119

@lf-

Description

@lf-

Problem:
I want to navigate large buck files quickly and easily, so I want to be able to quickly jump to a target in the file without having to scroll through it or use ctrl-f.

Possible solution:
Implement textDocument/documentSymbol request for BUCK files as included targets, implement it for bzl files for defined symbols.

https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#textDocument_documentSymbol

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions