elixir_sense v1.0.0 ElixirSense.Providers.Suggestion

Provider responsible for finding suggestions for auto-completing

Summary

Functions

Finds all suggestions for a hint based on context information

Types

attribute()
attribute() :: %{type: :attribute, name: String.t}
callback()
callback() :: %{type: :callback, name: String.t, arity: non_neg_integer, args: String.t, origin: String.t, summary: String.t, spec: String.t}
fun_arity()
fun_arity() :: {atom, non_neg_integer}
func()
func() :: %{type: :function, name: String.t, arity: non_neg_integer, args: String.t, origin: String.t, summary: String.t, spec: String.t}
hint()
hint() :: %{type: :hint, value: String.t}
mod()
mod() :: %{type: :module, name: String.t, subtype: String.t, summary: String.t}
return()
return() :: %{type: :return, description: String.t, spec: String.t, snippet: String.t}
scope()
scope() :: module | fun_arity
suggestion()
variable()
variable() :: %{type: :var, name: String.t}

Functions

find(hint, imports, aliases, vars, attributes, behaviours, scope)
find(String.t, [module], [{module, module}], [String.t], [String.t], [module], scope) :: [suggestion]

Finds all suggestions for a hint based on context information.