问题描述
在 VSCode 中使用自动完成功能时会添加额外信息,但我不知道是什么设置导致了这种情况发生。
--PrevIoUs Output after autocomplete and what I want to happen after autocomplete:
map
-- Current Output after autocomplete and what I NOT to happen after autocomplete:
map a -> b [a]
我只在 VSCode 中使用这个扩展:
https://github.com/haskell/vscode-haskell
解决方法
代码段补全是最近在 haskell-language-server(vscode 扩展使用的后端)中添加的一项功能。 不幸的是,并不总能满足用户的需求。我们正在对其进行配置,并可能使其选择加入。 您可以在此处跟踪进度:https://github.com/haskell/haskell-language-server/issues/680