How to dynamically update content of a CommandContributionItem #3022
-
I have a requirement that dynamically update the menu item(CommandContributionItem). For example, when user opens a menu, the item text is: What I did is:
On windows, I can see the label of the item will be updated dynamically. But on Mac, it won't. Is working on Windows just a coincidence? Or I did it in a wrong way? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 6 replies
-
In theory it should work, I don't see anything else that is need to be done if looking at |
Beta Was this translation helpful? Give feedback.
So don't use tabs (new lines any other special characters) in menu items. It is definitely not Eclipse but native Mac API issue.