Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

atom-haskell-archive/autocomplete-haskell

Repository files navigation

autocomplete-haskell atom package

Autocomplete-haskell provides autocompletion facilities for your Haskell hacking. It relies on scope names provided by language-haskell and haskell-completion-backend service, provided by haskell-ghc-mod

You can show auto-completions for hole _. This will try to find replacements based on type. It's no magic though, so if hole has some crazy type, it won't find anything. You can also refine hole completions based on name by using named holes, e.g. _from

Current autocompletion scopes:

  • Import module name
  • Import module symbols
  • Language pragmas
  • OPTIONS_GHC pragma
  • Type name
  • Class name
  • Symbol name

Sadly, it does not pick up types and/or other symbols defined in current file (ghc-mod seems to be incapable of this feat), so for this you have to rely on default autocomplete-plus SymbolProvider.

Dependencies

Atom packages:

Autocompletion:

autocomplete

Import autocompletion:

import

Hole autocompletion:

hole

License

Copyright © 2015 Atom-Haskell

Contributors (by number of commits):

  • Nikolay Yakimov

See the LICENSE.md for details.