OCaml语言的IDE [英] IDE for OCaml language

查看:125
本文介绍了OCaml语言的IDE的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

除了Camelia之外还有任何可靠的OCaml IDE?

Is there any trusted OCaml IDE other than Camelia ?

如果存在,我更喜欢基于eclipse的IDE。

I would prefer an eclipse based IDE if existed.

推荐答案

编辑

•Emacs

◦来自标准发行版的ocaml-mode

◦ ocaml-mode from the standard distribution

◦替代tuareg-mode https://forge.ocamlcore.org/projects/tuareg/

◦ alternative tuareg-mode https://forge.ocamlcore.org/projects/tuareg/

- 作弊表: http://www.ocamlpro.com / fi les / tuareg-mode.pdf

− cheat-sheet: http://www.ocamlpro.com/files/tuareg-mode.pdf

◦camldebug整合使用调试器

◦ camldebug intergration with debugger

◦使用Cc Ct键快捷键输入反馈,需要.annot fi les

◦ type feedback with C-c C-t key shortcut, needs .annot files

•Vim

◦OMLet插件
http:// www.lix.polytechnique.fr/~dbaelde/productions/omlet.html

◦对于类型查找:https://github.com/avsm/ocaml-annot

- 或ht tp://www.vim.org/scripts/script.php?script_id = 2025

- 还? http://www.vim.org/scripts/script.php?script_id=1197

•Eclipse

◦OCaml开发工具 http://ocamldt.free.fr/

◦ OCaml Development Tools http://ocamldt.free.fr/

◦旧插件OcaIDE http://www.algo-prog.info/ocaide/

◦ an old plugin OcaIDE http://www.algo-prog.info/ocaide/

•TypeRex http://www.typerex.org/

◦目前主要作为Emacs的typerex模式,但与
其他编辑将变得更好

◦ currently mostly as typerex-mode for Emacs but integration with other editors will become better

◦标识符的自动完成(实验性)

◦ Auto-completion of identifiers (experimental)

◦浏览标识符:显示类型和注释,转到定义

◦ Browsing of identifiers: show type and comment, go to definition

◦本地和整个程序重构:重命名标识符和编译单元,打开消除

◦ local and whole-program refactoring: renaming identifiers and compilation units, open elimination

•一些专用编辑

◦OCamlEditor http://ocamleditor.forge.ocamlcore.org/

◦ OCamlEditor http://ocamleditor.forge.ocamlcore.org/

◦ocamlbrowser检查图书馆和程序

◦ ocamlbrowser inspects libraries and programs

- 浏览模块内容

- 按名称和类型搜索

− search by name and by type

- 基本编辑,语法高亮显示

− basic editing, with syntax highlighting

◦Cameleon http://home.gna。 org / cameleon / (旧)

◦ Cameleon http://home.gna.org/cameleon/ (older)

◦Camelia http:// camelia .sourceforge.net / (甚至更老)

◦ Camelia http://camelia.sourceforge.net/ (even older)

新:编辑 OCaml-top ,语法高亮,缩进,类型显示,适用于所有系统。

NEW: editor OCaml-top, with syntax highlighting, indentation, type display, work well on all systems.

新:Merlin ,类似于TypeRex,但对于正在进行中的文件效果更好,目前还有Vim和Emacs的前端。

NEW: Merlin, similar to TypeRex but works better with work-in-progress files, has front-ends to Vim and Emacs currently.

这篇关于OCaml语言的IDE的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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