Skip to content

Commit

Permalink
revert accidental changes
Browse files Browse the repository at this point in the history
  • Loading branch information
lukaszsamson committed Jan 8, 2024
1 parent 6d4b9ee commit 39dc9d5
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 23 deletions.
21 changes: 0 additions & 21 deletions apps/language_server/lib/language_server/providers/completion.ex
Original file line number Diff line number Diff line change
Expand Up @@ -173,25 +173,6 @@ defmodule ElixirLS.LanguageServer.Providers.Completion do
)

required_alias = Keyword.get(options, :auto_insert_required_alias, true)
parent = self()

pid =
spawn(fn ->
for _i <- 1..100 do
receive do
:done -> :ok
after
1000 ->
case Process.info(parent, :current_stacktrace) do
{:current_stacktrace, stacktrace} ->
dbg(stacktrace)

nil ->
:ok
end
end
end
end)

items =
ElixirSense.suggestions(text, line, character,
Expand All @@ -205,8 +186,6 @@ defmodule ElixirLS.LanguageServer.Providers.Completion do
|> Enum.reject(&is_nil/1)
|> sort_items()

send(pid, :done)

# add trigger signatures to arity 0 if there are higher arity completions that would trigger
commands =
items
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,6 @@ defmodule ElixirLS.LanguageServer.Providers.WorkspaceSymbols do
) do
Logger.info("[ElixirLS WorkspaceSymbols] Updating index...")

dbg(modified_uris)

module_paths =
get_app_modules()
|> process_chunked(fn chunk ->
Expand Down

0 comments on commit 39dc9d5

Please sign in to comment.