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

Erl-Auto​Completion

by lintingbin ST3

Erlang autocompletion

Details

Installs

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

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