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
When doing go-to definition/references for modules, I get inconsistent behavior based on the syntax the module is being used in and whether my cursor is on the last character of the module name.
Here's a video demonstrating the inconsistencies:
compressed.mp4
And here's the code used in the video:
defmoduleTestdodeftest,do: nilenddefmoduleOtherModuledodeftestdo# Module name (all characters working)Test# Remote call (last character references function instead of module)Test.test()# Remote capture (last character references function instead of module)_=&Test.test/0# Module name in list[# Comma after (last character not working)Test,# Space after (all characters working)Test,# Nothing after (all characters working)Test]# Module name in arguments (last character not working)List.wrap(Test)endend
It's worth noting that this is different from #1038. I'm using Elixir 1.15, and function go-to/references are working properly when the cursor is at the end of the symbol.
Expected behavior
I expect the behavior of go-to definition/references to be the same regardless of where the cursor is positioned in all of the examples shown.
The text was updated successfully, but these errors were encountered:
Environment
Current behavior
When doing go-to definition/references for modules, I get inconsistent behavior based on the syntax the module is being used in and whether my cursor is on the last character of the module name.
Here's a video demonstrating the inconsistencies:
compressed.mp4
And here's the code used in the video:
It's worth noting that this is different from #1038. I'm using Elixir 1.15, and function go-to/references are working properly when the cursor is at the end of the symbol.
Expected behavior
I expect the behavior of go-to definition/references to be the same regardless of where the cursor is positioned in all of the examples shown.
The text was updated successfully, but these errors were encountered: