Is it possible to enable/disable menu items upon command execution #9562
Unanswered
sboudreaux96
asked this question in
Q&A
Replies: 1 comment 15 replies
-
@sboudreaux96 you can use the MenuModelRegistry to register and un-register menus (which can be called by the checkbox or executing a command). For example: There are limitations however, for example in the |
Beta Was this translation helpful? Give feedback.
15 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi - I am trying to create an extension that contains a command to specifically enable/disable menu items in Theia. Is this possible? I would also like to know if the same can be done as a toggleable feature (like a checkbox)?
Beta Was this translation helpful? Give feedback.
All reactions