Skip to content

Repository files navigation

opensumi-module-samples

Sample code illustrating the OpenSumi modules.

Run

npm i
npm run start

open http://localhost:8080/.

LAN Connect

Need to modify example/configs/webpack.browser.config.js

{
  host: '0.0.0.0',
  allowedHosts: 'all',
}

Samples

Sample API & Documentation
Connection Sample connection-between-browser-and-node
Custom Terminal Env Sample Add custom Terminal enviroment variables
Use Antd Components Use OpenSumi antd theme
Welcome page Create your welcome page
Editor Title Actions Create Editor Title Actions
Use OutputChannel Logging message on Output panel
Register Menu on EditorTitle Register Menu on EditorTitle
Add Welcome Content How to add new welcome content
i18n in modules How to custom i18n text
Toggle Panel or Sidebar Toggle Panel or Sidebar
Custom Extension Marketplace entrypoint Custom Extension Marketplace entrypoint
Custom Layout Custom Layout View
File Opened With Custom Component -
Basic TreeView -
Modal API How to use IMessageService/IDialogService/IProcessService
Use Custom Menu ID -
Add Toolbar Menu -
Custom Editor Empty Component Custom Editor Empty Component
Add Custom View -
Custom ContextMenu Or Menubar Menu Custom Menu
Use Buitin Components -
Use Buitin Services -
Use Buitin Events -
Use Monaco in Custom Editor Components -
Menubar compact mode -

About

Sample code illustrating the OpenSumi modules.

Resources

Stars

9 stars

Watchers

21 watching

Forks

Releases

Packages

Used by

Contributors

Languages