문제

Is it possible to enable type completion in Typerex for external modules? In particular I am trying to use js_of_ocaml.

I can see local identifiers in code completion, so it is definitely enabled, but when I type (for example) Dom_html. I don't get a list of the module's contents.

도움이 되었습니까?

해결책

Version 1 of TypeRex does not provide completion on files with syntax extensions, unless you play some tricks with camlp4.

Version 2 of TypeRex will work better, as it will based on a relaxed syntax of OCaml, and usually most standard syntax extensions are compatible with this relaxed syntax.

Version 2 is not yet released, but you can still try it in the branch typerex2 of the repository.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top