• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

haskelly-dev/Haskelly: Haskelly is a VS Code extension that provides complete su ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

haskelly-dev/Haskelly

开源软件地址(OpenSource Url):

https://github.com/haskelly-dev/Haskelly

开源编程语言(OpenSource Language):

TypeScript 100.0%

开源软件介绍(OpenSource Introduction):

Haskelly

Release notes | Roadmap | Demo Video

Haskelly is a Visual Studio Code extension that supports Haskell development.

Features

  • Code highlight

  • Code snippets

    • Structures : data, newtype, etc.
    • Popular functions : map, fold, etc.
  • Type hovers

    • hover
  • Jump to definition

    • Jump to symbol definitions/declarations
  • Find references

    • Find references within a module or depending modules. See limitations on #62
  • Code completion :

    • Local functions and constants
    • Standard library
    • Imported modules

    completion

  • Integrated REPL, Build, Test and Run commands

    • repl with GHCi
    • build with stack
    • run with runHaskell
    • test current file prop_* properties with QuickCheck
    • run full test suite with Stack test

Installation

  • Install the Haskelly VS Code extension.

  • Install Stack and add it to your PATH. Note that Stack folder naming conventions must be followed for it to work correctly, i.e. capitalizing folder names.

    curl -sSL https://get.haskellstack.org/ | sh
  • Install Intero (code completion and type information), and QuickCheck (test suite)

    stack install intero QuickCheck  # for a global installation
    stack build intero QuickCheck # for a local installation

Configuration

Haskelly is customizable (see Code > Preferences > Workspace Settings).

Parameter Description Default
haskelly.codeCompletion Code completion enabled true
haskelly.buttons.ghci GHCi button shows in the bottom bar true
haskelly.buttons.runfile Run file button shows in the bottom bar true
haskelly.buttons.quickcheck QuickCheck button shows in the bottom bar true
haskelly.buttons.stackBuild Stack build button shows in the bottom bar true
haskelly.buttons.stackBuildParams Parameters passed to stack build command --fast
haskelly.buttons.stackRun Stack run button shows in the bottom bar true
haskelly.buttons.stackRunParams Parameters passed to stack run command null
haskelly.buttons.stackTest Stack test button shows in the bottom bar true
haskelly.buttons.stackTestParams Parameters passed to stack test command null
haskelly.snippets.important Hide code completion for which there's already a snippet false
haskelly.snippets.custom Add your custom snippets following the structure of this file null
haskelly.exec.reuseTerminal Reuse the currently opened terminal to run Stack commands false

Contributing

If you'd like to contribute to Haskelly, this is what you can do:

  • Bugs: This extension is in alpha, so some bugs might be present. We would really appreciate if you could post any issue on the Github repository issues section or contact us at: [email protected].
  • Ideas and feature requests: We want to get everyone's opinion on what we're building so feel free to use the two mentioned channels for any comment or suggestion.
  • Documentation: Found a typo or strangely worded sentences? Submit a PR!
  • Code: Contribute bug fixes, features or design changes.

License: GNU 3




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap