Skip to content

Need Guidance on creating a custom explorer widget #14596

Discussion options

You must be logged in to vote

Hey @YathindraNikshipth,

For widgets in the sidebars, Theia has a distinction between widgets and view containers. A view container can contain multiple views/widgets, and is displayed in the sidebar. The actual widget is just part of its owning view container. See here for how the navigator widget is contributed to its view container:

super({
viewContainerId: EXPLORER_VIEW_CONTAINER_ID,
widgetId: FILE_NAVIGATOR_ID,
widgetName: EXPLORER_VIEW_CONTAINER_TITLE_OPTIONS.label,
defaultWidgetOptions: {
area: 'left',
rank: 100
},
toggleCommandId: FILE_NAVI…

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@YathindraNikshipth
Comment options

@YathindraNikshipth
Comment options

@msujew
Comment options

@YathindraNikshipth
Comment options

Answer selected by YathindraNikshipth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants