File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
lib/language_server/providers Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -713,7 +713,8 @@ defmodule ElixirLS.LanguageServer.Providers.Completion do
713
713
"plugs" ,
714
714
"endpoints" ,
715
715
"sockets" ,
716
- "live"
716
+ "live" ,
717
+ "components"
717
718
] do
718
719
if String . ends_with? ( project_web_dir , "_web" ) do
719
720
# by convention Phoenix doesn't use these folders as part of the module names
Original file line number Diff line number Diff line change @@ -1289,7 +1289,8 @@ defmodule ElixirLS.LanguageServer.Providers.CompletionTest do
1289
1289
{ "MyProjectWeb.MyChannel" , "channels/my_channel.ex" } ,
1290
1290
{ "MyProjectWeb.MyEndpoint" , "endpoints/my_endpoint.ex" } ,
1291
1291
{ "MyProjectWeb.MySocket" , "sockets/my_socket.ex" } ,
1292
- { "MyProjectWeb.MyviewLive.MyComponent" , "live/myview_live/my_component.ex" }
1292
+ { "MyProjectWeb.MyviewLive.MyComponent" , "live/myview_live/my_component.ex" } ,
1293
+ { "MyProjectWeb.MyComponent" , "components/my_component.ex" }
1293
1294
]
1294
1295
|> Enum . each ( fn { expected_module_name , partial_path } ->
1295
1296
path = "some/path/my_project/lib/my_project_web/#{ partial_path } "
You can’t perform that action at this time.
0 commit comments