Type Hierarchy should be display in sidebar and provide editor context menu #3313
Copy link
Copy link
Closed
Labels
in lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available
Milestone
Description
Metadata
Metadata
Assignees
Labels
in lsp/analysis serverSomething to be fixed in the Dart analysis serverSomething to be fixed in the Dart analysis serveris enhancementAn enhancement or improvement that should be listed in release notes but is not a bug fix.An enhancement or improvement that should be listed in release notes but is not a bug fix.relies on sdk changesSomething that requires changes in the Dart/Flutter SDK to ship before it will become availableSomething that requires changes in the Dart/Flutter SDK to ship before it will become available

Activity
tjx666 commentedon May 1, 2021
It would be better to show the Type Hierarchy using visual graphic like Java class inheritance in IDEA.
DanTup commentedon May 10, 2021
Is this request related to the Type Hierarchy or Call Hierarchy?
There's an open issue at #612 for call hierarchy. I'd agree it makes sense to move the Type Hierarchy to a tree than where it is, although it would probably be better to try and get a standard LSP feature for this rather than custom messages - it looks like there's a PR in-progress at microsoft/language-server-protocol#1231. Doing it that way would allow VS Code to render this however it chooses (including visually) and be consistent for all languages.
tjx666 commentedon May 10, 2021
@DanTup Related to Type Hierarchy, and It seems that call Hierarchy not ready to use.
[analysis_server] Add LSP Type Hierarchy
DanTup commentedon Oct 14, 2022
This is implemented by dart-lang/sdk@6f8d1e4. It ships in the Dart language server so will show up with a future SDK release (not a Dart-Code release).