Skip to content

dgaw/howl-intero

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Howl Intero

This bundle improves the Haskell editing experience in Howl by providing the IDE-like features of Intero.

Screenshot

Features

  • Show the type of an expression or identifier.
  • Find uses of an identifier in a module.
  • Find definition of an identifier in a module.
  • List all types of all expressions of all modules loaded.
  • Completion of identifiers within a module's scope.
  • Error checking

Please vote for the feature you'd like to get done next in the Issues section.

Requirements

  • Stack
  • Linux (specifically bash and the script utility from util-linux)

Installation

$ cd ~/.howl/bundles
$ git clone https://github.com/dgaw/howl-intero

Usage

First of all, you should build Intero for the Haskell project you want to use it in.

$ cd ~/your-project
$ stack build intero --copy-compiler-tool

Then you can start Howl, open your project and start Intero with alt_x intero-start.

When Intero is up and running you can get the type information of the expression at the cursor with alt_x intero-show-type.

Of course you can bind these commands to keyboard keys in your ~/.howl/init.moon, like so:

howl.bindings.push {
  editor: {
    alt_i: 'intero-start',
    ctrl_t: 'intero-show-type'
  }
}

About

Haskell Intero support for the Howl editor

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published