You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@Sleepful Phoenix Router macros mess with modules in scopes. e.g. in
scope "/", Foo.Bar do
pipe_through :browser
scope "/some" do
get "/:id", MyController, :index
end
end
MyController is transformed to Foo.Bar.MyController. To make it work someone would need to write a phoenix plugin to elixir_sense or add some hacks to ElixirSense.MetadataBuilder to make it understand how those macros work.
If you use a full module name (or properly alias it), then go to definition should work (not sure if router would still work though)
This is in the README.
elixir-ls/README.md
Line 232 in 9becfba
Is there a GH issue for this already?
Any clue why it doesn't work?
The text was updated successfully, but these errors were encountered: