Skip to content

Commit d938be9

Browse files
author
Étienne Lévesque
committed
Move doc + update command
1 parent f61fdd5 commit d938be9

File tree

1 file changed

+10
-10
lines changed
  • apps/language_server/lib/language_server/providers/code_lens

1 file changed

+10
-10
lines changed

apps/language_server/lib/language_server/providers/code_lens/test.ex

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,4 @@
11
defmodule DescribeBlock do
2-
@moduledoc """
3-
Identifies test execution targets and provides code lenses for automatically executing them.
4-
5-
Supports the following execution targets:
6-
* Test modules (any module that imports ExUnit.Case)
7-
* Describe blocks (any call to describe/2 inside a test module)
8-
* Test blocks (any call to test/2 or test/3 inside a test module)
9-
"""
10-
112
alias ElixirSense.Core.State.Env
123

134
@struct_keys [:line, :name, :body_scope_id]
@@ -68,13 +59,22 @@ defmodule TestBlock do
6859
end
6960

7061
defmodule ElixirLS.LanguageServer.Providers.CodeLens.Test do
62+
@moduledoc """
63+
Identifies test execution targets and provides code lenses for automatically executing them.
64+
65+
Supports the following execution targets:
66+
* Test modules (any module that imports ExUnit.Case)
67+
* Describe blocks (any call to describe/2 inside a test module)
68+
* Test blocks (any call to test/2 or test/3 inside a test module)
69+
"""
70+
7171
alias ElixirLS.LanguageServer.Providers.CodeLens
7272
alias ElixirLS.LanguageServer.SourceFile
7373
alias ElixirSense.Core.Parser
7474
alias ElixirSense.Core.Metadata
7575
alias ElixirSense.Core.State.Env
7676

77-
@run_test_command "elixir.test.run"
77+
@run_test_command "elixir.lens.test.run"
7878

7979
def code_lens(uri, text) do
8080
with {:ok, buffer_file_metadata} <- parse_source(text) do

0 commit comments

Comments
 (0)