-
Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
apiapi-proposaleditor-symbolsdefinitions, declarations, referencesdefinitions, declarations, referencesfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanoutlineSource outline view issuesSource outline view issues
Milestone
Description
In order to support a real outline view (#5605) and a breadcrumb bar (#9418, #31162) we need better document symbol information. Today, the API doesn't allow providers to return tree data and it also doesn't spec what the ranges of symbols should be. Some language extensions make the range be the whole symbol range, some make it the identifier range. It needs a new or refined API to support hierarchies, I see two options
- allow a tree of
SymbolInformation
-objects, e.g. add an optionalchildren
-property. - have two range-objects on
SymbolInformation
-objects, one being the whole range and one being the identifier range. While this looks counter intuitive and worst than having tree-style-data it makes merging of different data sets from different providers easy.
mihailik, usernamehw, bizzyman, myfairsyer, egelev and 13 more
Metadata
Metadata
Assignees
Labels
apiapi-proposaleditor-symbolsdefinitions, declarations, referencesdefinitions, declarations, referencesfeature-requestRequest for new features or functionalityRequest for new features or functionalityon-testplanoutlineSource outline view issuesSource outline view issues