Skip to content

Commit

Permalink
Bring back providers
Browse files Browse the repository at this point in the history
They are still used by Lexical and we need to figure out what to do with them later
  • Loading branch information
lukaszsamson committed Jun 9, 2024
1 parent 52670c2 commit 4adfc55
Show file tree
Hide file tree
Showing 33 changed files with 6,833 additions and 0 deletions.
17 changes: 17 additions & 0 deletions lib/elixir_sense.ex
Original file line number Diff line number Diff line change
Expand Up @@ -77,4 +77,21 @@ defmodule ElixirSense do
other -> other
end
end

defdelegate docs(code, line, column, options \\ []), to: ElixirSense.Providers.Hover.Docs

defdelegate definition(code, line, column, options \\ []),
to: ElixirSense.Providers.Definition.Locator

defdelegate implementations(code, line, column, options \\ []),
to: ElixirSense.Providers.Implementation.Locator

defdelegate suggestions(code, line, column, options \\ []),
to: ElixirSense.Providers.Completion.Suggestion

defdelegate signature(code, line, column, options \\ []),
to: ElixirSense.Providers.SignatureHelp.Signature

defdelegate references(code, line, column, trace, options \\ []),
to: ElixirSense.Providers.References.Locator
end
Loading

0 comments on commit 4adfc55

Please sign in to comment.