You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support vscode TypeHierarchy API (references-view)
This change introduces support for vscode Typehierarchy API and
integrates the solution with the facilities provided by the
references-view extension.
E.g. via the implementation of the commands
`vscode.prepareTypeHierarchy`,
`vscode.provideSupertypes`,
`vscode.provideSupertypes`
The `Show Type Hierarchy` context menu shall be enabled from an
editor as long as a TypeHIerarchyProvider is registered for the
specific language.
Similarly the following commands shall now be functional from the
command palette.
`Types: Show Type Hierarchy`
`Types: Show Subtypes`
`Types: Show Supertypes`
Signed-off-by: Alvaro Sanchez-Leon <[email protected]>
Copy file name to clipboardExpand all lines: CHANGELOG.md
+5
Original file line number
Diff line number
Diff line change
@@ -15,6 +15,11 @@
15
15
generating the main code bundle (as before), the second serves to generate a *.css file for inclusion into `secondaryWindow.html`[#11707](https://github.com/eclipse-theia/theia/pull/11707)
16
16
-[plugin-ext]`when` clauses removed from `codeToTheiaMappings`[#11741](https://github.com/eclipse-theia/theia/pull/#11741)
17
17
-[terminal] The `AbstractCmdClickTerminalContribution` API has been removed in favor of the `TerminalLinkProvider` interface [#11552](https://github.com/eclipse-theia/theia/pull/11552) - Contributed on behalf of STMicroelectronics
18
+
-[typehierarchy] - Adding Support of vscode TypeHierarchy API with the following breaking changes: [#11694](https://github.com/eclipse-theia/theia/pull/11694)
19
+
-[plugin-ext/main] The file `callhierarchy-type-converters.ts` was renamed to `hierarchy-types-converters.ts`
20
+
- The method `toDefinition` was renamed to `toItemHierarchyDefinition` and the overloaded signatures were removed.
21
+
- The method `fromDefinition` was replaced for `fromItemHierarchyDefinition` to convert both `TypeHierarchyItem` and `CallHierarchyItem` to a common `HierarchyItem`.
22
+
-[plugin-ext/plugin] - `thype-converters.ts #fromCallHierarchyItem` was replaced by `fromHierarchyItem` to convert from `CallHierarchyItem` or `TypeHierarchyItem` to `HierarchyItem`.
0 commit comments