Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -304,6 +304,17 @@ defmodule ElixirLS.LanguageServer.Providers.DocumentSymbols do
}
end

# ExUnit property
defp extract_symbol(_current_module, {:property, location, [name | _]}) do
%Info{
type: :function,
name: Macro.to_string(name),
detail: :property |> to_string,
location: location,
children: []
}
end

# ExUnit setup and setup_all callbacks
defp extract_symbol(_current_module, {name, location, [_name | _]})
when name in [:setup, :setup_all] do
Expand Down