File tree Expand file tree Collapse file tree 3 files changed +13
-9
lines changed
lib/language_server/providers/execute_command Expand file tree Collapse file tree 3 files changed +13
-9
lines changed Original file line number Diff line number Diff line change 6
6
7
7
- Fixed regression in debugger not respecting ` MIX_ENV ` and ` MIX_TARGET `
8
8
- Silence output from ` dialyxir ` making client disconnect from the server on elixir < 1.14
9
+ - Avoid serializing PID to JSON
9
10
10
11
### v0.14.4: 20 April 2023
11
12
Original file line number Diff line number Diff line change @@ -5,10 +5,13 @@ defmodule ElixirLS.LanguageServer.Providers.ExecuteCommand.Restart do
5
5
6
6
@ impl ElixirLS.LanguageServer.Providers.ExecuteCommand
7
7
def execute ( _args , _state ) do
8
- Task . start ( fn ->
9
- Logger . info ( "ElixirLS will restart" )
10
- Process . sleep ( 1000 )
11
- System . stop ( 0 )
12
- end )
8
+ { :ok , _pid } =
9
+ Task . start ( fn ->
10
+ Logger . info ( "ElixirLS will restart" )
11
+ Process . sleep ( 1000 )
12
+ System . stop ( 0 )
13
+ end )
14
+
15
+ { :ok , % { } }
13
16
end
14
17
end
Original file line number Diff line number Diff line change 1
1
defmodule ElixirLS.LanguageServer.Mixfile do
2
2
use Mix.Project
3
3
4
- @ version ( __DIR__
5
- |> Path . join ( "../../VERSION" )
6
- |> File . read! ( )
7
- |> String . trim ( ) )
4
+ @ version __DIR__
5
+ |> Path . join ( "../../VERSION" )
6
+ |> File . read! ( )
7
+ |> String . trim ( )
8
8
9
9
def project do
10
10
[
You can’t perform that action at this time.
0 commit comments