Custom Functionality in Explorer

Hey, I want to add custom option here

can you guys help me with it

image

@Siddharth thank you for the discussion, that context-menu is generated and is used to control the visibility of TreeViews which are added to the Explorer ViewContainer.

Are you looking into implementing your own TreeView to add (either a Theia extension or VS Code plugin), or did you want to override the behavior of the menu to add a new context-menu item unrelated to toggling visibility?

I want to implement my own treeview with file filters

You can take a look at other tree-views in the framework (ex: open editors), or you can even take a look at the VS Code API and implement your tree-view as a plugin if you don’t need too much functionality.

Some important areas to look (open-editors treeview):