에디터 플러그인
Reason's nature lends itself to great editor support. Most of our editor plugins provides at minimum:
- 타입 표시.
refmt
를 통해 프로그래밍적 코드 포매팅- 오류 & 경고 알림
- 구문 강조.
- 타입 기반 자동완성.
- 정의로 이동.
그리고 더 많은 기능들.
Editor Plugins & Language Server
Since Reason is just an alternative syntax for OCaml, we integrate seamlessly into the official OCaml editor toolchain as well.
- For VSCode, we recommend using the vscode-ocaml-platform plugin, which offers OCaml & Reason support out of the box.
- For other editors, we recommend using a language server client plugin of your choice, and pairing it with the
ocaml-lsp
. Check out the respective README's to get started.
Other:
- Vim/Neovim: Make sure to use ocaml-language-server for native development as suggested. (Mac, Linux):
npm install -g ocaml-language-server
- vim-reasonml: For use with esy, Reason, and Merlin (not LSP based). (Mac, Linux, Windows).