-
Notifications
You must be signed in to change notification settings - Fork 145
Using Frege in Intellij IDEA
under construction
For those who prefer working in an IDE, there is special Frege support for eclipse. However, Intellij IDEA can also be set up to compile and run Frege code smoothly even though the support is much less advanced. If you would like to see better Frege support in IDEA, please upvote the Frege issue.
This page describes how you can
- edit Frege code with basic syntax highlighting and general editing support (commenting, search/replace, hippy-completion)
- automatically compile Frege code whenever you change a .fr file
- run Frege code
- run QuickCheck
- start the Frege REPL internally with your code on the classpath.
Make sure you have recent version of IntellijIDEA. Any 13.x version or higher should be fine. The free community edition is totally sufficient. Some basic knowledge of this IDE is assumed below.
Make sure you have a Java 1.7 SDK installed.
Install the following plugins from the JetBrains plugin site if you don't have them yet:
- the Haskell plugin
- the File Watcher plugin
Register Frege files as having the Haskell file type such that the Haskell plugin will do the syntax highlighting. Go to Preferences -> Editor -> File Types and add *.fr to the list of Haskell file extensions.
Home
News
Community
- Online Communities
- Frege Ecosystem
- Frege Day 2015
- Protocol
- Simon Peyton-Jones Transcript
- Talks
- Articles
- Books
- Courses
Documentation
- Getting Started
- Online REPL
- FAQ
- Language and API Reference
- Libraries
- Language Interoperability
- Calling Frege From Java (old)
- Calling Java From Frege
- Calling Frege From Java (new)
- Compiler Manpage
- Source Code Doc
- Contributing
- System Properties
- License
- IDE Support
- Eclipse
- Intellij
- VS Code and Language Server
- Haskell
- Differences
- GHC Options vs Frege
- Learn You A Haskell Adaptations
- Official Doc
Downloads