intellij-elixir
intellij-elixir copied to clipboard
Local function is not suggested in `if` do block.
Describe the bug
Function without module is not suggested in if
do block.
I'm not sure since when this issue happened.
To Reproduce
- Write like
defmodule Foo do
def foo do
if true do
end
end
def bar do
"bar"
end
end
- Write
b
inif
do block - No suggestion.
- Write
Foo.b
suggestbar
- Write
b
outside if block suggestbar
Expected behavior
Suggest bar
function name.
Screenshots
https://user-images.githubusercontent.com/1321120/180217005-e21f15e3-aca2-4e69-9481-689ea36e9fa3.mov
Desktop:
- OS: Mac OS X
- Version 11.6.6
Erlang:
- Installer asdf
- Version 25.0.1
Elixir:
- Installer asdf
- Version 1.13.4-otp-25
Plugin:
- Version 13.1.1