Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
是否可以在 Typerex 中为外部模块启用类型完成?特别是我正在尝试使用 js_of_ocaml。
我可以在代码完成中看到本地标识符,所以它肯定是启用的,但是当我输入(例如)时,Dom_html.我没有得到模块内容的列表。
Dom_html.
TypeRex 版本 1 不提供对具有语法扩展名的文件的补全,除非您使用 camlp4 玩一些技巧。
TypeRex 版本 2 会更好地工作,因为它将基于 OCaml 的宽松语法,并且通常大多数标准语法扩展都与这种宽松语法兼容。
版本 2 尚未发布,但您仍然可以在typerex2存储库的分支中试用。
typerex2