autocomplete-haskellAtom autocomplete-plus provider for haskell

联合创作 · 2023-09-28 00:22

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:

Import autocompletion:

import

Hole autocompletion:

hole

License

Copyright © 2015 Atom-Haskell

Contributors (by number of commits):

  • Nikolay Yakimov

See the LICENSE.md for details.

浏览 8
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报
评论
图片
表情
推荐
点赞
评论
收藏
分享

手机扫一扫分享

编辑 分享
举报