This extension provides Erlang/OTP support for Visual Studio Codeand is available at the Marketplace.
- 2017-06-12: Common used rebar3 commands (contributed by @frepond)
- 2017-06-09: Experimental workspace modules and functions auto-completion (contributed by @frepond)
- 2016-02-17: Experimental module name auto-completion (currently Erlang standard library modules only)
- 2016-02-16: Added experimental support for auto-completion of Erlang standard library module functions.
Enable it with:
setting erlang.enableExperimentalAutoComplete
to true
in your user settings and restart VSCode.
- Syntax highlighting
- Auto-indent
- Snippets
- Auto-complete (experimental)
- Rebar3 common commands
- Format document (needs emacs installed)
- Generate Erlang ctags (* needs ctags installed, for use with ctags plugin *)
Workspace auto-completion is based on file .erl_workspace.json
in the workspace top folder. This file could be generated
using the Cmd+Shit+P
and Erlang: generate workspace completions
. This file is generated with available *.beam under the current
workspace (it needs the project to be already built). The command rebar
compile` within the editor triggers this automatically upon successful compile.
- Build support
- Erlang shell
This extension is still WIP, feel free to submit ideas/bug fixes on Github.
rec
: receive blockreca
: receive block with aftercase
: case blockif
: if blocktry
: try .. catch block
You can submit more snippets on Github.
- Erlang syntax file is based on: https://github.com/pgourlain/vscode_erlang.