intero 0.1.38 → 0.1.39
raw patch · 5 files changed
+25/−64 lines, 5 filesdep ~ghc
Dependency ranges changed: ghc
Files
- CHANGELOG +2/−0
- README.md +17/−58
- elisp/intero.el +3/−3
- intero.cabal +2/−2
- src/test/Main.hs +1/−1
CHANGELOG view
@@ -1,3 +1,5 @@+0.1.39:+ * Support for GHC 8.6.4 0.1.38: * Fix bug of getting encoding for networked queries
README.md view
@@ -1,71 +1,30 @@-# intero [](https://travis-ci.org/chrisdone/intero) +# intero [](https://travis-ci.org/chrisdone/intero) [](https://ci.appveyor.com/project/chrisdone/intero) Complete interactive development program for Haskell -## Intero for Emacs--[](https://melpa.org/#/intero) [](https://stable.melpa.org/#/intero)+# Intero for your favourite editors -Please see-[the homepage for Intero for Emacs](http://chrisdone.github.io/intero).+There are various editor integrations for the Intero binary, with the+Emacs one being the officially supported one: -#### Default key bindings+* [Emacs](https://github.com/chrisdone/intero/blob/master/EMACS.md) [officially supported]+* [Neovim](https://github.com/parsonsmatt/intero-neovim)+* [Haskero](https://gitlab.com/vannnns/haskero) (Visual Studio Code)+* [Haskelly](https://github.com/haskelly-dev/Haskelly) (Visual Studio Code)+* [SublimeText](https://github.com/dariusf/sublime-intero)+* [IntelliJ](https://plugins.jetbrains.com/plugin/8258-intellij-haskell) -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+If you would like to build support into a new editor or IDE, please see+[TOOLING.md](https://github.com/commercialhaskell/intero/blob/master/TOOLING.md). ## Install requirements -Make sure you have this package installed on Linux:+Make sure you have `libtinfo` installed: - libtinfo-dev+OS | Package+--- | ---+Debian derivatives | `libtinfo-dev`+Fedora derivatives | `ncurses-devel` (People on other platforms please contribute the equivalent dependency.)--## 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:--* [intero-neovim](https://github.com/parsonsmatt/intero-neovim)-* [haskero](https://gitlab.com/vannnns/haskero) (vscode)-* [Haskelly](https://github.com/haskelly-dev/Haskelly) (vscode)-* [sublime-intero](https://github.com/dariusf/sublime-intero)--If you would like to build support into a new editor or IDE, please see-[TOOLING.md](https://github.com/commercialhaskell/intero/blob/master/TOOLING.md).
elisp/intero.el view
@@ -72,9 +72,9 @@ (defcustom intero-package-version (cl-case system-type ;; Until <https://github.com/haskell/network/issues/313> is fixed:- (windows-nt "0.1.38")- (cygwin "0.1.38")- (t "0.1.38"))+ (windows-nt "0.1.39")+ (cygwin "0.1.39")+ (t "0.1.39")) "Package version to auto-install. This version does not necessarily have to be the latest version
intero.cabal view
@@ -1,7 +1,7 @@ name: intero version:- 0.1.38+ 0.1.39 synopsis: Complete interactive development program for Haskell license:@@ -73,7 +73,7 @@ bytestring, directory, filepath,- ghc >= 7.8 && <= 8.6.3,+ ghc >= 7.8 && <= 8.6.4, ghc-paths, haskeline, process,
src/test/Main.hs view
@@ -419,7 +419,7 @@ (atFile ":complete-at" "X.hs"- -- All these type annotations are required for GHC 8.6.3+ -- All these type annotations are required for GHC 8.6.4 -- to accept the input without error. "{-# OPTIONS -fdefer-type-errors #-}\nmodule X where\ng a = fiiila (filu :: Char) a (fi :: Int)\n where fiiila _ _ _ = 123" (2, 14, 2, 17, "fi")