Skip to content

Commit 4671372

Browse files
committed
print info about protocol consolidation
1 parent 4552443 commit 4671372

File tree

3 files changed

+12
-1
lines changed

3 files changed

+12
-1
lines changed

apps/elixir_ls_debugger/lib/debugger/cli.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ defmodule ElixirLS.Debugger.CLI do
1818
"Running on elixir #{versions.current_elixir_version} on OTP #{versions.current_otp_version}"
1919
)
2020

21+
Output.debugger_console(
22+
"Protocols are #{unless(Protocol.consolidated?(Enumerable), do: "not ", else: "")}consolidated"
23+
)
24+
2125
Launch.limit_num_schedulers()
2226
warn_if_unsupported_version()
2327
WireProtocol.stream_packets(&Server.receive_packet/1)

apps/elixir_ls_debugger/lib/debugger/output.ex

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,10 @@ defmodule ElixirLS.Debugger.Output do
3434
end
3535

3636
def debugger_important(server \\ __MODULE__, str) when is_binary(str) do
37-
send_event(server, "output", %{"category" => "important", "output" => maybe_append_newline(str)})
37+
send_event(server, "output", %{
38+
"category" => "important",
39+
"output" => maybe_append_newline(str)
40+
})
3841
end
3942

4043
def debuggee_out(server \\ __MODULE__, str) when is_binary(str) do

apps/language_server/lib/language_server/cli.ex

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,10 @@ defmodule ElixirLS.LanguageServer.CLI do
4141
"Running on elixir #{versions.current_elixir_version} on OTP #{versions.current_otp_version}"
4242
)
4343

44+
Logger.info(
45+
"Protocols are #{unless(Protocol.consolidated?(Enumerable), do: "not ", else: "")}consolidated"
46+
)
47+
4448
check_otp_doc_chunks()
4549
check_elixir_sources()
4650
check_otp_sources()

0 commit comments

Comments
 (0)