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
AI-generated apps that pass security review Icon
AI-generated apps that pass security review

Stop waiting on engineering. Build production-ready internal tools with AI—on your company data, in your cloud.

Retool lets you generate dashboards, admin panels, and workflows directly on your data. Type something like “Build me a revenue dashboard on my Stripe data” and get a working app with security, permissions, and compliance built in from day one. Whether on our cloud or self-hosted, create the internal software your team needs without compromising enterprise standards or control.
Try Retool 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