Freon IDE IntegrationHow to use this reporun Npm Scriptsupdate-version This script increases the version of the generated VS Code extension. This is used to ensure that at each build there is a new extension with a higher version number so we can install a new version in VSCode. langium:generate Generated all Langium artefacts. install-test-data Makes a copy of test data into this project.
The data sources are git repos, described in test runs all tests, which means all installed test languages will be parsed. When output contains parser errors, there is something to fix. Note that this does not test whether code completion, syntax coloring etc is ok. October 11 2025, 2025: Released 0.0.6 Takes into account all syntax changes in Freon 2.0.0-beta.3 May 13, 2025: Released 0.0.4 For developing Freon using the Freon specification languages, you can use the ingrated IDE support. For Visual Studio Code (VSCode) there is an extention to be installed, for Jetbrains IDE's like WebStorm an LSP language server is available. The IDE support has ben developed using Langium. Note that is a first version please report any problems or feedback, preferably as an issue in the github project: https://github.com/freon4dsl/freon-ide.git Installation in VSCodeInstall the Installation in WebStorm / IntelliJ IDE'sDownload the freon-ide release
Install the LPS plugin
You can open the Language Servers tool window through the menu View => Tools Windows => Language Servers. Now the tool windows opens and you can see the Freon language server. If there are any *.ast, *.edit, *.type, *.valid and *.scope files in the project, you can see that the Freon language server is started and you can see the log output window. You can also stop and restart the language server. Installation of syntax hightlightingSyntax highlighting in the IDE is not part of the Language Server Protocol. Syntax Highlighting in VSCodeThe VSCode extension includes both the LSP support, and also the syntax highlighting. Once the extension is installed both should work. Syntax Highlighting in WebStormThe Redhat LSP plugin only supports the typical LSP functionality, but no syntax highlighting. To install the syntax highlighting you need to use the WebStorm builtin textmate support.
Other IDE'sYou should be able to use the Freon Language Server in other tools that accept an LSP server, but we have not tried this out. |