Skip to content

F# document symbols select the doc comment, not the name #415

Closed

Description

@MelbourneDeveloper

FCS widens a type's or module's NavigationItem.Range over its doc comment and attributes, and the F# sidecar passed it through as the LSP selectionRange. Revealing a symbol from the outline, breadcrumbs or Solution Explorer lands on ///, and a hover there answers nothing.

Repro: namespace N / /// A shape. / type Shape = | Circle of float → Shape's selectionRange starts at the doc comment line, col 0.

Found by the [TUTORIAL-OPEN-FILE] VS Code test on Windows CI (PR #413).

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions