When I was learning Haskell, I missed the nice features of IntelliJ IDEA. My first approach was to use the default way of creating an IntelliJ plugin by defining a grammar and a lexer according to Haskell report. That didn't work out because I could not define all the recursion. Then I decided to use grammar and lexer definitions only for tokenizing and parsing Haskell code, and not for syntax checking the code. This is needed for syntax highlighting, all kinds of navigation, and so on. Further Haskell language support is provided with the help of external tools. Show error action to view formatted messages. Useful in case message consists of multiple lines (Ctrl-F10, Meta-F10 on Mac OSX); Intention actions to add language extension (depends on compiler error), add top-level type signature (depends on compiler warning). Intention action to select which module to import if the identifier is not in scope.

Features

  • This plugin depends mainly on Stack. It can create new Stack projects and import existing Stack projects
  • GHC 8.2.2 and later is supported
  • Syntax highlighting
  • Haskell Problems View. This tool window displays GHC messages for the currently edited files
  • Resolve references to identifiers
  • View type info from (selected) expression
  • View quick documentation

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow IntelliJ plugin for Haskell

IntelliJ plugin for Haskell Web Site

Other Useful Business Software
MongoDB Atlas runs apps anywhere Icon
MongoDB Atlas runs apps anywhere

Deploy in 115+ regions with the modern database for every enterprise.

MongoDB Atlas gives you the freedom to build and run modern applications anywhere—across AWS, Azure, and Google Cloud. With global availability in over 115 regions, Atlas lets you deploy close to your users, meet compliance needs, and scale with confidence across any geography.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of IntelliJ plugin for Haskell!

Additional Project Details

Programming Language

Scala

Related Categories

Scala Browser Extensions and Plugins

Registered

2023-04-05