Module Samples

We officially provide a case repository for module expansion opensumi-module-samples. You can learn the following contents in the template repository:

SampleAPI & Documentation
Connection Sampleconnection-between-browser-and-node
Custom Terminal Env SampleAdd custom Terminal enviroment variables
Use Buitin Components-
Use Antd ComponentsUse OpenSumi antd theme
Welcome pageCreate your welcome page
Editor Title ActionsCreate Editor Title Actions
Use OutputChannelLogging message on Output panel
Add Welcome ContentHow to add new welcome content
i18n in modulesHow to custom i18n text
Toggle Panel or SidebarToggle Panel or Sidebar
Custom Extension Marketplace entrypointCustom Extension Marketplace entrypoint
Custom LayoutCustom Layout View
File Opened With Custom Component-
Basic TreeView-
Modal APIHow to use IMessageService/IDialogService/IProcessService
Use Custom Menu ID-
Add Toolbar Menu-
Custom Editor Empty ComponentCustom Editor Empty Component
Add Custom View-
Custom ContextMenu Or Menubar MenuCustom Menu
Use Buitin Components-
Use Buitin Services-
Use Buitin Events-
Use Monaco in Custom Editor Components-

The content of the module repository is also being iteratively updated, and developers are welcome to contribute your own use cases.