-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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 TreeItemLabel
in TreeItem
#11148
Labels
vscode
issues related to VSCode compatibility
Comments
48 tasks
I'm going to look into this :) |
lucas-koehler
added a commit
to eclipsesource/theia
that referenced
this issue
Jun 13, 2022
* Add `TreeItemLabel` to theia.d.ts * Align `TreeItem.label` with VS Code API to support `TreeItemLabel` as a value * Extend plugin tree view implementation to support showing `TreeItemLabel.highlights` * Extend `TreeViewNode` to also extend `DecoratedTreeNode` * Set highlights in tree node's decoration data to displays them Fixes eclipse-theia#11148 Contributed on behalf of STMicroelectronics Signed-off-by: Lucas Koehler <[email protected]>
1 task
lucas-koehler
added a commit
to eclipsesource/theia
that referenced
this issue
Jun 13, 2022
* Add `TreeItemLabel` to theia.d.ts * Align `TreeItem.label` with VS Code API to support `TreeItemLabel` as a value * Extend plugin tree view implementation to support showing `TreeItemLabel.highlights` * Extend `TreeViewNode` to also extend `DecoratedTreeNode` * Set highlights in tree node's decoration data to displays them Fixes eclipse-theia#11148 Contributed on behalf of STMicroelectronics Signed-off-by: Lucas Koehler <[email protected]>
lucas-koehler
added a commit
to eclipsesource/theia
that referenced
this issue
Jun 13, 2022
* Add `TreeItemLabel` to theia.d.ts * Align `TreeItem.label` with VS Code API to support `TreeItemLabel` as a value * Extend plugin tree view implementation to support showing `TreeItemLabel.highlights` * Extend `TreeViewNode` to also extend `DecoratedTreeNode` * Set highlights in tree node's decoration data to displays them Fixes eclipse-theia#11148 Contributed on behalf of STMicroelectronics Signed-off-by: Lucas Koehler <[email protected]>
msujew
pushed a commit
that referenced
this issue
Jun 13, 2022
…eeItem2` (#11288) * vscode: Support `TreeItemLabel` in `TreeItem` * Add `TreeItemLabel` to theia.d.ts * Align `TreeItem.label` with VS Code API to support `TreeItemLabel` as a value * Extend plugin tree view implementation to support showing `TreeItemLabel.highlights` * Extend `TreeViewNode` to also extend `DecoratedTreeNode` * Set highlights in tree node's decoration data to displays them Fixes #11148 Contributed on behalf of STMicroelectronics Signed-off-by: Lucas Koehler <[email protected]> * plugin: Remove obsolete, proposed `TreeItem2` and `TreeItemLabel` Remove `TreeItem2` and `TreeItemLabel` from proposed plugin api because all properties are now supported and aligned with VS Code by `TreeItem` and `TreeItemLabel` in `theia.d.ts` 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
Feature Description:
The interface
TreeItemLabel
can be used instead of plain strings for defining theTreeItem.label
. In addition to the plain string label,TreeItemLabel
can also specifyhighlights
to indicate ranges in the label to highlight, see https://code.visualstudio.com/api/references/vscode-api#TreeItemLabel.The text was updated successfully, but these errors were encountered: