Skip to content

Add an example for the TreeWidget #15127

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

Closed
wants to merge 3 commits into from

Conversation

xpomul
Copy link
Contributor

@xpomul xpomul commented Mar 6, 2025

What it does

Add an example demonstrating how to implement a custom TreeWidget including several of its features.

How to test

  • Run the Theia examples
  • In the command palette invoke "View: Toggle Example Tree View ..."

Follow-ups

This example is referred in a new documentation page on the Theia website (see this PR: eclipse-theia/theia-website#736).

Review checklist

Reminder for reviewers

Add an example demonstrating how to implement a custom TreeWidget including several of its features.

Signed-off-by: Stefan Winkler <stefan@winklerweb.net>
@kittaakos
Copy link
Contributor

kittaakos commented Mar 10, 2025

Great work, Stefan 👏 Have you considered moving your example contribution to the generator? https://github.com/eclipse-theia/generator-theia-extension


Update:

For some context, we began adding code to the 'api-samples' project when Theia exposed an API not used within the Theia codebase. For example, when an API was created specifically for a vendor application or extension, it served as proof that it worked as expected.

@xpomul
Copy link
Contributor Author

xpomul commented Mar 10, 2025

@kittaakos oh I See, thanks for the hint.
I‘ll create a PR against the generator then and invalidate this PR…

@xpomul
Copy link
Contributor Author

xpomul commented Mar 13, 2025

Great work, Stefan 👏 Have you considered moving your example contribution to the generator? https://github.com/eclipse-theia/generator-theia-extension

Update:

For some context, we began adding code to the 'api-samples' project when Theia exposed an API not used within the Theia codebase. For example, when an API was created specifically for a vendor application or extension, it served as proof that it worked as expected.

Followup PR is now created here: eclipse-theia/generator-theia-extension#241

@xpomul xpomul closed this Mar 13, 2025
@github-project-automation github-project-automation bot moved this from Waiting on reviewers to Done in PR Backlog Mar 13, 2025
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.

2 participants