-
Im currently trying to add a submenu to the explorer sidemenu, but I haven't found any documentation on how to do so. Do I need to use a MenuContribution for this and if yes where do i find the MenuPath of the explorer sidemenu or do i need to do something different? |
Beta Was this translation helpful? Give feedback.
Answered by
msujew
Jan 23, 2025
Replies: 1 comment 3 replies
-
Hey @stannls, I'm having a hard time following you. There are half a dozen places that roughly fit your description. Where do you want this menu to be placed? Can you perhaps share a screenshot where you want to place your new menu entry? |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I see, thank you. That's actually not a menu, but just how we represent sidebar widgets inside of view containers. You can create your own widget (see this guide) and add it to the explorer view container, like the navigator does it:
theia/packages/navigator/src/browser/navigator-contribution.ts
Lines 167 to 168 in ecf65d3