ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

Erl-Auto​Completion

Erlang autocompletion

Details

Installs

  • Total 2K
  • Win 1K
  • OS X 223
  • Linux 271
Feb 25 Feb 24 Feb 23 Feb 22 Feb 21 Feb 20 Feb 19 Feb 18 Feb 17 Feb 16 Feb 15 Feb 14 Feb 13 Feb 12 Feb 11 Feb 10 Feb 9 Feb 8 Feb 7 Feb 6 Feb 5 Feb 4 Feb 3 Feb 2 Feb 1 Jan 31 Jan 30 Jan 29 Jan 28 Jan 27 Jan 26 Jan 25 Jan 24 Jan 23 Jan 22 Jan 21 Jan 20 Jan 19 Jan 18 Jan 17 Jan 16 Jan 15 Jan 14 Jan 13 Jan 12 Jan 11
Windows 7 3 5 12 4 9 8 5 9 5 9 4 21 7 6 4 8 15 7 7 6 3 6 6 9 5 5 12 4 7 8 8 4 4 5 2 3 1 5 3 9 8 4 6 5 5
OS X 1 2 0 0 2 0 3 0 0 0 0 0 0 3 2 2 1 1 6 1 1 0 0 2 2 2 2 1 1 0 0 2 1 1 2 2 0 0 2 4 1 2 1 1 3 1
Linux 1 0 1 3 1 1 3 2 1 3 1 0 2 3 0 2 3 1 3 2 0 3 0 1 0 1 3 2 1 2 2 1 0 3 3 4 1 2 2 0 2 1 0 1 1 3

Readme

Source
raw.​githubusercontent.​com

Erl-AutoCompletion

This is an Erlang auto-completion and goto-definition plugin of the Sublime editor. It only supports Sublime Text 3. If you are using Sublime Text 2, please upgrade to Sublime Text 3.

Installation

with Sublime Package Control

  1. Open command pallet (default: ctrl+shift+p)
  2. Type package control install and select command Package Control: Install Package
  3. Type Erl-AutoCompletion and select Erl-AutoCompletion

Additional info about to use Sublime Package Control you can find here: http://wbond.net/sublime_packages/package_control/usage.

with Git

cd ~/.config/sublime-text/Packages/ (open by: Preferences -> Browse Packages)
git clone https://github.com/lintingbin2009/Erl-AutoCompletion
restart sublime-text

Demonstration

Goto definition

The right mouse button can bring up the goto_definition(Erlang) menu. It can find definition of function, record and macro. You can set mousemap by Preferences -> Package Settings -> Erl-AutoCompletion -> Mousemap - default.

Requirement

Need to install Erlang. If Erlang is not installed, Erl-AutoCompletion will not be able to create an auto completion and goto definition index based on the version of Erlang you have installed.

Settings

Settings file open by: Preferences -> Package Settings -> Erl-AutoCompletion

escript settings

If you have set the escript environment variable, you do not need to set the escript value in the configuration file, comment it out.

Autocomplete on “:”

If you want auto-completion on “:”, you can define a trigger in the Sublime User or Erlang preferences:

# User/Preferences.sublime-settings or User/Erlang.sublime-settings
{
    // ...
    "auto_complete_triggers": [{"selector": "source.erlang", "characters": ":"}],
}

Discussing