Freon IDE IntegrationCurrent release 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. |