intero: Complete interactive development program for Haskell

[ bsd3, development, program ] [ Propose Tags ]

[Skip to Readme]
Versions 0.0.0, 0.1.0, 0.1.1, 0.1.2, 0.1.3, 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.11, 0.1.12, 0.1.13, 0.1.14, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21, 0.1.22, 0.1.23, 0.1.24, 0.1.25, 0.1.26, 0.1.27, 0.1.28, 0.1.29, 0.1.30, 0.1.31, 0.1.32
Change log CHANGELOG
Dependencies array, base (<5), bytestring, containers, directory, filepath, ghc (>=7.8 && <=8.4.3), ghc-boot-th, ghc-paths, ghci, haskeline, mtl, network, process, random, syb, time, transformers, unix, Win32 [details]
License BSD-3-Clause
Copyright 2016 FP Complete, 2016 Chris Done, 2012 Kazu Yamamoto, 2008 Claus Reinke, 2005 The University of Glasgow
Author Chris Done, The University of Glasgow
Maintainer chrisdone@fpcomplete.com
Category Development
Home page https://github.com/commercialhaskell/intero
Source repo head: git clone git://github.com/commercialhaskell/intero.git
Uploaded by ChrisDone at Thu Jun 28 14:13:26 UTC 2018
Distributions NixOS:0.1.32
Executables intero
Downloads 7066 total (417 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
Last success reported on 2018-06-28 [all 3 reports]
Hackage Matrix CI

Downloads

Maintainer's Corner

For package maintainers and hackage trustees


Readme for intero-0.1.32

[back to package description]

<img src="https://github.com/commercialhaskell/intero/raw/master/images/intero.svg" height=25> intero Build Status MELPA MELPA Stable AppVeyor Build Status

Complete interactive development program for Haskell

Intero for Emacs

Please see the homepage for Intero for Emacs.

Default key bindings

Key binding | Description --- | --- M-. | Jump to definition C-c C-i | Show information of identifier at point C-c C-t | Show the type of thing at point, or the selection C-u C-c C-t | Insert a type signature for the thing at point C-c C-l | Load this module in the REPL C-c C-c | Evaluate the selected region in the REPL C-c C-r | Apply suggestions from GHC C-c C-k | Clear REPL C-c C-z | Switch to and from the REPL

Enabling intero

To enable intero in all haskell-mode buffers by default, enable intero-global-mode, by using M-x customize or by adding (intero-global-mode 1) to your Emacs start-up files.

Intero will then activate for all projects, and for files without a stack.yaml, it will assume the "global" project. If you want to use an alternate stack yaml configuration file (for example, when developing for multiple GHC versions), use M-x intero-stack-yaml to switch file. When switching configuration, you will asked whether you want to preserve this choice across emacs sessions for the given project.

Whitelisting/blacklisting projects

Some users prefer to enable Intero selectively. The custom variables intero-blacklist and intero-whitelist are provided for this purpose, and are honoured by intero-global-mode:

If the parent directory of a Haskell file is listed in intero-blacklist, then intero will not be enabled for that file, unless a parent directory of that file is also listed in intero-whitelist. In other words, whitelist entries take precedence. You can therefore blacklist / to disable intero in all projects unless they are whitelisted.

Intero support for other editors and IDEs

Although not supported by the Intero maintainers, integrations with other editors exist:

If you would like to build support into a new editor or IDE, please see TOOLING.md.

Issues

Issues are split into low/medium/high priorities which dictates which ones will be implemented first.