From Workingmouse Wiki
The IntelliJ IDEA Haskell project provides configuration for the JetBrains IntelliJ IDEA development to highlight source files for the Haskell Programming Language and the Haskell CABAL. The software is released under a BSD open source licence.
Features:
- A file type setting for Haskell programming language source files. These have a .hs file extension (.lhs is not supported).
- A file type setting for the Haskell Common Architecture for Building Applications and Libraries (CABAL) files. These have a .cabal file extension.
- File templates for Haskell programming language source files.
- File templates for CABAL files.
Installation Instructions
- Read the software licence which is in the LICENCE file.
- Open IntelliJIDEA 5.0 or 6.0.
- Select from the menu, File -> Import Settings...
- Use the file selection dialog to refer to the settings JAR file.
- Select to import the File Types and/or File Templates and click OK.
- Restart IntellijIDEA.
- After restarting, associate Haskell source files with your file type.
- Settings (Ctrl+Alt+S)
- File Types (I)
- Select "Haskell source files" under "Recognized File Types".
- Press the Add button under "Registered Patterns".
- Type "*.hs" (without the quotes) and click OK.
- Click Apply.
- After restarting, associate Haskell CABAL source files with your file type.
- Select "CABAL package description" under "Recognized File Types".
- Press the Add button under "Registered Patterns".
- Type "*.cabal" (without the quotes) and click OK.
- Click Apply.
IntelliJ IDEA Haskell (latest version: 1.2):