This is the IntelliJ plugin for Frege! It provides IDE support for the Frege programming language using the Frege Language Server.
It depends on the Frege Language Server version v1.0.2 & Frege version 3.25.84.
Note 1: Make sure your Frege files are located in
./src/main/fregeor in the directory stated in the environment variableFREGE_LS_SOURCE_DIR. The Frege Language Server uses the file system to resolve modules. Therefore, always use the file path relative toFREGE_LS_SOURCE_DIRas module name.
Note 2 Syntax highlighting: Open Settings -> Editor -> File Types -> Recognized File Types. Search for Haskell and add
*.frtoFile name patterns:
If you want to access Java files along with your Frege code make sure to put
the Java code in ./src/main/java or into the directory stated in the
environment variable FREGE_LS_JAVA_SOURCE_DIR.
If you want to use external Jar files along with your Frege code make sure to put
them under the ./lib folder or into the directory stated in the
environment variable FREGE_LS_EXTRA_CLASSPATH.
We currently only support manual installation. The plugin depends on the IntelliJ Language Server Protocol support. See here to find out which IDEs are supported!
Download the latest release and install it manually using Settings/Preferences > Plugins > ⚙️ > Install plugin from disk...
Tested with gradle 8.14.3, IntelliJ IDEA 2025.1.2 and Kotlin 2.2.0.
Use ./gradlew buildPlugin. It might take a while as it downloads many Jetbrains dependencies
Use ./gradlew runIde to start a new IntelliJ instance with the current version of the plugin installed.
- Download the latest release tar here and replace the version in
src/main/resources/fregels. - Change the version of Frege/FregeLS in Versions.kt, in this Readme and in gradle.properties.
- Commit & Push
- Run
./gradlew buildPlugin - Create a new GitHub Release with and upload the contents of
./build/distributionsto it
Plugin based on the IntelliJ Platform Plugin Template.