Files
theia-code-os/packages/secondary-window/README.md
mawkone 8bb5110148
Some checks failed
Playwright Tests / Playwright Tests (ubuntu-22.04, Node.js 22.x) (push) Has been cancelled
3PP License Check / 3PP License Check (11, 22.x, ubuntu-22.04) (push) Has been cancelled
Publish packages to NPM / Perform Publishing (push) Has been cancelled
deploy: current vibn theia state
Made-with: Cursor
2026-02-27 12:01:08 -08:00

43 lines
1.4 KiB
Markdown

<div align='center'>
<br />
<img src='https://raw.githubusercontent.com/eclipse-theia/theia/master/logo/theia.svg?sanitize=true' alt='theia-ext-logo' width='100px' />
<h2>ECLIPSE THEIA - SECONDARY WINDOW EXTENSION</h2>
<hr />
</div>
## Description
The `@theia/secondary-window` extension contributes the extract command and toolbar item to move extractable widgets to secondary windows.
To mark a widget to be extractable, implement the `ExtractableWidget` interface from `@theia/core`.
### Limitations
For the extraction to work we require changes in upstream libraries.
Theia offers the `theia-patch` CLI command to apply these patches.
Recommendation: Execute `theia-patch` in the `postinstall` script of your root npm package to automatically apply the patches.
If the patches are not applied, the secondary window will show empty.
## Additional Information
- [API documentation for `@theia/secondary-window`](https://eclipse-theia.github.io/theia/docs/next/modules/_theia_secondary-window.html)
- [Theia - GitHub](https://github.com/eclipse-theia/theia)
- [Theia - Website](https://theia-ide.org/)
## License
- [Eclipse Public License 2.0](http://www.eclipse.org/legal/epl-2.0/)
- [一 (Secondary) GNU General Public License, version 2 with the GNU Classpath Exception](https://projects.eclipse.org/license/secondary-gpl-2.0-cp)
## Trademark
"Theia" is a trademark of the Eclipse Foundation
<https://www.eclipse.org/theia>