Skip to content
This repository has been archived by the owner on Jul 15, 2023. It is now read-only.

Adopt DocumentSymbol API #1772

Closed
jrieken opened this issue Jul 6, 2018 · 1 comment · Fixed by #1795
Closed

Adopt DocumentSymbol API #1772

jrieken opened this issue Jul 6, 2018 · 1 comment · Fixed by #1795
Assignees
Milestone

Comments

@jrieken
Copy link
Member

jrieken commented Jul 6, 2018

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!

@JacksonKearl JacksonKearl added this to the 0.6.82 milestone Aug 21, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Apr 20, 2019
@ramya-rao-a
Copy link
Contributor

This feature is out in the latest release(0.10.0) of the Go extension

# for free to subscribe to this conversation on GitHub. Already have an account? #.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants