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

Erl-Auto​Completion

Erlang autocompletion

Details

  • 1.0.7
  • github.​com
  • github.​com
  • 2 months ago
  • 28 minutes ago
  • 3 months ago

Installs

  • Total 901
  • Win 624
  • OS X 116
  • Linux 161
Nov 24 Nov 23 Nov 22 Nov 21 Nov 20 Nov 19 Nov 18 Nov 17 Nov 16 Nov 15 Nov 14 Nov 13 Nov 12 Nov 11 Nov 10 Nov 9 Nov 8 Nov 7 Nov 6 Nov 5 Nov 4 Nov 3 Nov 2 Nov 1 Oct 31 Oct 30 Oct 29 Oct 28 Oct 27 Oct 26 Oct 25 Oct 24 Oct 23 Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10
Windows 4 11 3 9 4 5 2 11 7 7 6 9 3 5 9 3 4 9 7 4 8 6 8 9 7 8 3 8 12 6 4 9 13 7 8 9 8 13 9 3 6 8 7 5 4 10
OS X 0 1 1 0 2 0 0 1 1 3 0 3 1 2 5 1 0 3 0 0 1 0 2 1 3 1 1 1 3 3 0 1 2 1 3 1 0 0 2 2 0 0 0 2 3 3
Linux 0 1 2 4 1 1 3 0 1 1 4 2 5 1 0 2 3 2 2 2 1 1 0 3 1 1 3 0 4 0 3 1 4 1 3 4 2 5 4 1 2 2 4 0 2 2

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