Open SergeyMosin opened 4 weeks ago
Reader mode works, so it must be parsing somehow.
Thanks for the report, it's definitely a very useful feature so let's get it sorted.
I believe this might be due to having multiple definitions for functions, and it isn't sure which it should use.
Perhaps we could have a way of determining if there are multiple definitions, and if there is only one docblock, show that? Or we could have a "known good" list for inbuilt, as we don't want to show the wrong docs as well.
Eg Enum.sort can display the docs, when within the module:
And it works for within the same module:
But Enum.map autocomplete DOES work:
Just not when multiple definitions.
I'll dig into it, would be great to get this solved.
I see now. I did not realize that I can get the docs by pressing Ctrl + Q
while inside the drop-down, like the Enum.map
example above. This is perfectly fine for me. Thank you for the great plugin.
Describe the bug
No Documentation found.
popup is shown(instead of the docs) whenCtrl + Q
is pressed while a function such asIO.inspect("foo")
is under the caret.To Reproduce Steps to reproduce the behavior:
IO.inspect("foo")
where it is allowedinspect
function nameCtrl + Q
No Documentation found.
popup is shownExpected behavior When
Ctrl + Q
is pressed while cursor/caret is place inside a function name, documentation for that function should be shown.Screenshots
Ctrl + Q
when insideinspect
Ctrl + Left Click
Ctrl + Q
when insideIO
(works as expected)Logs N/A
Desktop:
Erlang:
Elixir:
Plugin:
Additional context I have not used this plugin prior to v19.0.0 (IntelliJ IDEA 2024.2.0.1) , so I don't know if it worked in previous versions or if this is specific to v19.0.0 / IDEA 2024.2.0.1