Skip to content

Add Outline support #586

Closed
Closed

Description

@jrieken

With the 1.25 release we have finalised the API for the outline tree. A DocumentSymbolProvider should now return document symbols which can represent a hierarchy and that can differentiate between the full range of a symbol and the selection range, e.g. the name of a function.

Note that we synthesise trees using range-containment when a provider returns SymbolInformation-objects and that that isn't perfect. Adopting the new API makes the outline more robust and support features like follow-cursor and diagnostics association.

Let me know if need more information is needed. Happy Coding!

Activity

  1. jrieken commented on Jul 9, 2018

    @jrieken
    Author
  2. tsmaeder commented on Sep 5, 2018

    @tsmaeder
    Contributor
  3. fbricon commented on Sep 5, 2018

    @fbricon
    Collaborator
  4. changed the title [-]Adopt improved DocumentSymbolProvider API[/-] [+]Add Outline support[/+] on Sep 5, 2018
  5. added this to the Mid September 2018 milestone on Sep 5, 2018
  6. added a commit that references this issue on Sep 17, 2018
    92a49c2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions