You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Theia integration we have a custom diagram menu to trigger certain actions on the diagram:
We should implement something similar for VS Code. As far as I know it is not possible to contribute new Menus directly to the main menu bar like we do it in Theia. So we have to look for a workaround.
PR eclipse-glsp/glsp-vscode-integration#15 introduced a menu using editor/title as proposed. Additionally a submenu was added in the editor/title menu. This submenu can be found when the three dots in the upper right corner of the editor are pressed:
Recording.mov
As this issue outlines, it is currently not possible to implement items for the main menu bar. This implementation however, is as close as possible to this requirement.
Taking all of the above into account, I would consider this issue as resolved.
In the Theia integration we have a custom diagram menu to trigger certain actions on the diagram:
We should implement something similar for VS Code. As far as I know it is not possible to contribute new Menus directly to the main menu bar like we do it in Theia. So we have to look for a workaround.
Looking at the available contribution points the following entry points seem to be good candidates:
editor/context
editor/title
editor/title/context
The text was updated successfully, but these errors were encountered: