a customization of Theia from the Eclipse fondation for Modula-2 use, specifically (for the moment) GNU Modula-2
|
|
1 неделя назад | |
|---|---|---|
| apps | 1 неделя назад | |
| examples | 2 недель назад | |
| extensions | 1 неделя назад | |
| grammars | 2 недель назад | |
| scripts | 2 недель назад | |
| .gitignore | 2 недель назад | |
| README.md | 2 недель назад | |
| SOURCE-TREE.txt | 2 недель назад | |
| package-lock.json | 2 недель назад | |
| package.json | 1 неделя назад | |
| yarn.lock | 2 недель назад |
A starting point for a dedicated GNU Modula-2 IDE built on Eclipse Theia.
modula2-workbench extensionmodula2-language extension.mod and .def support.def resolution)modula2.jsonThe current project targets Eclipse Theia 1.75.0, whose current stable release uses Node.js 24 as its minimum. Use Yarn Classic (1.x).
node --version
yarn --version
yarn
yarn build
Run browser:
yarn start:browser
Run Electron:
yarn start:electron
The language extension is intentionally a VS Code-compatible extension because Theia recommends VS Code extensions for language support. Native Theia extensions are used for product-specific workbench features.
gm2 (see GNU-grammar).modula2.json project support.The Modula-2 language extension is a VS Code-compatible extension. The build synchronizes it into plugins/modula2-language, and the Browser/Electron applications start Theia with --plugins=local-dir:../../plugins. The plugin directory must contain the extension folder; pointing --plugins directly at the extension folder does not provide the expected container layout.
The language extension now contains a real LSP client/server pair. The server
can invoke a GNU Modula-2 executable generated from a Coco/R grammar and turn
its editor-oriented diagnostics into LSP diagnostics. See
extensions/modula2-language/COCOR-LSP.md.