Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9576e51c02
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 25 lines (24 sloc) 1.549 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25
{
"scope": "source.erlang - meta.function.erlang",

"completions": [
{ "trigger": "-behaviour", "contents": "-behaviour(${1:behaviour})."},
{ "trigger": "-callback", "contents": "-callback ${1:function}(${2:Parameters}) -> ${3:ReturnType}."},
{ "trigger": "-compile", "contents": "-compile([${1:export_all}])."},
{ "trigger": "-define", "contents": "-define(${1:macro}${2: (${3:param})}, ${4:body})."},
{ "trigger": "-else", "contents": "-else."},
{ "trigger": "-endif", "contents": "-endif."},
{ "trigger": "-export", "contents": "-export([${1:function}/${2:arity}])."},
{ "trigger": "-export_type", "contents": "-export_type([${1:type}/${2:arity}])."},
{ "trigger": "-ifdef", "contents": "-ifdef(${1:macro})."},
{ "trigger": "-ifndef", "contents": "-ifndef(${1:macro})."},
{ "trigger": "-import", "contents": "-import(${1:module}, [${2:function}/${3:arity}])."},
{ "trigger": "-include", "contents": "-include(\"${1:file.hrl}\")."},
{ "trigger": "-include_lib", "contents": "-include_lib(\"${1:app/file.hrl}\")."},
{ "trigger": "-module", "contents": "-module(${1:${TM_FILEPATH/^.*\\/(.*)\\.erl$/$1/g}})."},
{ "trigger": "-opaque", "contents": "-opaque ${1:type}() :: ${2:term()}."},
{ "trigger": "-record", "contents": "-record(${1:record}, {${2:field}${3: = ${4:value}}})."},
{ "trigger": "-spec", "contents": "-spec ${1:function}(${2:Parameters}) -> ${3:ReturnType}."},
{ "trigger": "-type", "contents": "-type ${1:type}() :: ${2:term()}."},
{ "trigger": "-undef", "contents": "-undef(${1:macro})."}
]
}
Something went wrong with that request. Please try again.