Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[vscode] Support TreeDataProvider#resolveTreeItem() #11147

Closed
Tracked by #9863
planger opened this issue May 12, 2022 · 1 comment · Fixed by #11708
Closed
Tracked by #9863

[vscode] Support TreeDataProvider#resolveTreeItem() #11147

planger opened this issue May 12, 2022 · 1 comment · Fixed by #11708
Assignees
Labels
vscode issues related to VSCode compatibility

Comments

@planger
Copy link
Contributor

planger commented May 12, 2022

Add support in TreeDataProvider for resolving tree items on hover or click by adding the missing method
resolveTreeItem(item: TreeItem, element: T, token: CancellationToken): ProviderResult<TreeItem>
See https://code.visualstudio.com/api/references/vscode-api#TreeDataProvider%3CT%3E

@vince-fugnitto vince-fugnitto added the vscode issues related to VSCode compatibility label May 12, 2022
@lucas-koehler
Copy link
Contributor

I am looking into this.

lucas-koehler added a commit to eclipsesource/theia that referenced this issue Sep 28, 2022
* Extend `theia.d.ts` with optional method `resolveTreeItem` in `TreeDataProvider`
* Add infrastructure on ext side to resolve tree items
* Add resolvable tree view node classes
* Add resolvement for tooltips and commands
* Align TreeViewItem and TreeViewNode tooltip property with to include MarkdownString

Implements eclipse-theia#11147

Contributed on behalf of STMicroelectronics

Signed-off-by: Lucas Koehler <[email protected]>
lucas-koehler added a commit to eclipsesource/theia that referenced this issue Sep 28, 2022
* Extend `theia.d.ts` with optional method `resolveTreeItem` in `TreeDataProvider`
* Add infrastructure on ext side to resolve tree items
* Add resolvable tree view node classes
* Add resolvement for tooltips and commands
* Align TreeViewItem and TreeViewNode tooltip property with to include MarkdownString

Implements eclipse-theia#11147

Contributed on behalf of STMicroelectronics

Signed-off-by: Lucas Koehler <[email protected]>
lucas-koehler added a commit to eclipsesource/theia that referenced this issue Sep 28, 2022
* Extend `theia.d.ts` with optional method `resolveTreeItem` in `TreeDataProvider`
* Add infrastructure on ext side to resolve tree items
* Add resolvable tree view node classes
* Add resolvement for tooltips and commands
* Align TreeViewItem and TreeViewNode tooltip property type to include `MarkdownString`

Implements eclipse-theia#11147

Contributed on behalf of STMicroelectronics

Signed-off-by: Lucas Koehler <[email protected]>
lucas-koehler added a commit to eclipsesource/theia that referenced this issue Sep 28, 2022
* Extend `theia.d.ts` with optional method `resolveTreeItem` in `TreeDataProvider`
* Add infrastructure on ext side to resolve tree items
* Add resolvable tree view node classes
* Add resolvement for tooltips and commands
* Align TreeViewItem and TreeViewNode tooltip property type to include `MarkdownString`

Implements eclipse-theia#11147

Contributed on behalf of STMicroelectronics

Signed-off-by: Lucas Koehler <[email protected]>
lucas-koehler added a commit to eclipsesource/theia that referenced this issue Oct 14, 2022
* Extend `theia.d.ts` with optional method `resolveTreeItem` in `TreeDataProvider`
* Add infrastructure on ext side to resolve tree items
* Add resolvable tree view node classes
* Add resolvement for tooltips and commands
* Align TreeViewItem and TreeViewNode tooltip property type to include `MarkdownString`

Implements eclipse-theia#11147

Contributed on behalf of STMicroelectronics

Signed-off-by: Lucas Koehler <[email protected]>
lucas-koehler added a commit to eclipsesource/theia that referenced this issue Oct 14, 2022
* Extend `theia.d.ts` with optional method `resolveTreeItem` in `TreeDataProvider`
* Add infrastructure on ext side to resolve tree items
* Add resolvable tree view node classes
* Add resolvement for tooltips and commands
* Align TreeViewItem and TreeViewNode tooltip property type to include `MarkdownString`

Implements eclipse-theia#11147

Contributed on behalf of STMicroelectronics

Signed-off-by: Lucas Koehler <[email protected]>
JonasHelming pushed a commit that referenced this issue Oct 14, 2022
* Extend `theia.d.ts` with optional method `resolveTreeItem` in `TreeDataProvider`
* Add infrastructure on ext side to resolve tree items
* Add resolvable tree view node classes
* Add resolvement for tooltips and commands
* Align TreeViewItem and TreeViewNode tooltip property type to include `MarkdownString`

Implements #11147

Contributed on behalf of STMicroelectronics

Signed-off-by: Lucas Koehler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
vscode issues related to VSCode compatibility
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants