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
Describe the bug No Documentation found. popup is shown(instead of the docs) when Ctrl + Q is pressed while a function such as IO.inspect("foo") is under the caret.
To Reproduce
Steps to reproduce the behavior:
Create a project
Insert/type IO.inspect("foo") where it is allowed
Place cursor/caret inside the inspect function name
Press Ctrl + Q
No Documentation found. popup is shown
Expected 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 inside inspect
Ctrl + Left Click
Ctrl + Q when inside IO (works as expected)
Logs
N/A
Desktop:
IntelliJ IDEA 2024.2.0.1 (Community Edition)
Build #IC-242.20224.387, built on August 13, 2024
Runtime version: 21.0.3+13-b509.4 amd64 (JCEF 122.1.9)
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Toolkit: sun.awt.X11.XToolkit
Linux 6.8.0-40-generic
GC: G1 Young Generation, G1 Concurrent GC, G1 Old Generation
Memory: 3968M
Cores: 8
Registry:
ide.experimental.ui=true
Non-Bundled Plugins:
com.intellij.plugins.watcher (242.20224.155)
org.elixir_lang (19.0.0)
Kotlin: 242.20224.387-IJ
Current Desktop: ubuntu:GNOME
Version: Elixir 1.15.7 (compiled with Erlang/OTP 26)
Plugin:
Version 19.0.0
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
The text was updated successfully, but these errors were encountered:
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
The text was updated successfully, but these errors were encountered: