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
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
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