在Archlinux上将Vim用作Haskell的IDE的当前情况是什么? [英] What is the current situation for using Vim as IDE for Haskell on Archlinux?

查看:110
本文介绍了在Archlinux上将Vim用作Haskell的IDE的当前情况是什么?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我的目标(如果可行)是通过YouCompleteMe在Vim中完成Haskell的命令完成.在这方面,正如您在下面看到的那样,我还没有找到有关如何使其工作的共识.

My target, if doable, is to have command completion for Haskell in work in Vim, via YouCompleteMe. In this respect, as you can see in the following, I haven't found a consesus yet about how to get it to work.

有关相关的问题在YouCompleteMe上的最新评论并不老.,因此我从AUR安装了 haskell-ide-engine GitHub在此处.

The latest comments on a relevant issue on YouCompleteMe are not that old, therefore I installed haskell-ide-engine from the AUR (the repo on GitHub is here.

但是,由于花费了很长时间(花费了110分钟!),我检查了 PKGBUILD 文件只是为了发现这一点:

However, since it was taking so long (it took 110 minutes!) I checked the PKGBUILD file just to discover this:

# ...
# Supported are '8.4.2' '8.4.3' '8.4.4' '8.6.4' '8.6.5' '8.8.1' '8.8.2' '8.8.3'
# activated by default are the ones also used in a stackage snapshot. Removing
# versions you do not use will greatly reduce the compilation time of this
# package
_enabled_ghc_versions=('8.4.4' '8.6.4' '8.6.5' '8.8.2' '8.8.3')
# ...

足够公平,我不好.因此,我在 #haskell IRC频道上寻求帮助,一位用户发表了这样的评论:

Fair enough, my bad. So I searched for help on the #haskell IRC channel, and one user made this comment:

,然后您发现除了 haskell-language-server 之外,几乎没有人使用 haskell-ide-engine .而且ghcup可以为您安装预构建二进制文件

and then you find out that hardly anybody uses haskell-ide-engine anymore but haskell-language-server. and also that ghcup can install the prebuild binaries for you

另一个用户的评论是

至少可以说,Arch上的haskell情况不是最佳的

the haskell situation on Arch is not optimal, to say the least

另一条评论(来自Fendor,他的答案已经在下面)

an yet another comment (from Fendor, his answer is already below) was

HIE不再积极开发.Haskell语言服务器是其后继者.我会推荐Haskell语言服务器

HIE is not actively developed anymore. Haskell Language Server is the successor. I would recommend Haskell Language Server

这似乎与您在.

which seems not in line with what you can read on YouCompleteMe issue tracker.

那目前情况如何?

推荐答案

此处是Haskell IDE引擎和Haskell语言服务器开发人员.

Haskell IDE Engine and Haskell Language Server developer here.

是的,Haskell IDE Engine不再被积极开发. ghcide 和Haskell IDE Engine的团队合并了他们的工作,并创建了Haskell Language Server(基于ghcide作为主驱动程序).因此,Haskell Language Server当前是开发的重点,我们建议您优先于Haskell IDE Engine,因为它更快,更稳定.它还具有许多新功能,并且很快将通过Haskell IDE引擎达到相同的功能.

It is true, Haskell IDE Engine is not actively being developed anymore. The teams of ghcide and Haskell IDE Engine have merged their efforts and created Haskell Language Server (based on ghcide as the main driver). Thus, Haskell Language Server is currently the focus of development and we recommend you prefer it over Haskell IDE Engine, as it is quicker and more stable. It also has a bunch of new features and will soon reach feature-parity with Haskell IDE Engine.

可以通过ghcup安装Haskell语言服务器,而VSCode插件 Haskell 可以安装二进制文件也会自动.

Haskell Language Server can be installed via ghcup, and the VSCode plugin Haskell can install the binaries automatically as well.

博客帖子希望能更好地概述这种情况.

The blog post hopefully gives a better overview of the situation.

这篇关于在Archlinux上将Vim用作Haskell的IDE的当前情况是什么?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆