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

Tree editor extension custom menu entry should handle no open workspace #121

Open
lucas-koehler opened this issue Oct 18, 2021 · 0 comments

Comments

@lucas-koehler
Copy link
Contributor

lucas-koehler commented Oct 18, 2021

At the moment, the tree editor extension's Tree Editor -> New Example File menu entry does not work when there is no workspace open in Theia.
In this case, the menu Tree Editor is empty and an error root ERROR Child node 'open-editors:root' does not belong to this 'open-editors:root' tree. is logged. This is confusing for users.
Instead, the menu entry should be visible but disabled and ideally have a tooltip describing that a workspace needs to be open to use it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant