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] TreeView reveal options are now readonly #14198

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

rschnekenbu
Copy link
Contributor

What it does

Since vscode 1.93, TreeView#reveal options are now readonly. The same was applied to theia.d.ts and TreeViewRevealOptions from plugin api rpc.
No changes were expected from anywhere in the code. These are simple options on how to reveal elements

fixes #14109

contributed on behalf of STMicroelectronics

How to test

You can use the following vscode extension sample to test the reveal in a tree view. It provides 2 commands (Test View: reveal and Test View: reveal and select that invokes the reveal() API on sample tree view. The sample tree view contains various elements labeled a, aa, aaa, etc and b, bb.

Follow-ups

none known

Review checklist

Reminder for reviewers

fixes eclipse-theia#14109

Contributed on behalf of STMicroelectronics

Signed-off-by: Remi Schnekenburger <[email protected]>
*
* **NOTE:** {@link TreeDataProvider TreeDataProvider} is required to implement {@link TreeDataProvider.getParent getParent} method to access this API.
* * *NOTE:* You can expand only to 3 levels maximum.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this restriction true in Theia?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought I had changed the comment. This is now fixed with new commit.

@rschnekenbu rschnekenbu merged commit eaf6786 into eclipse-theia:master Sep 23, 2024
10 of 11 checks passed
@rschnekenbu rschnekenbu deleted the issues/14109 branch September 23, 2024 14:42
@sgraband sgraband added this to the 1.54.0 milestone Sep 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

[vscode] TreeView reveal options fields become readonly
3 participants