Closed SergeyMosin closed 2 months ago
This is the current limitation - only trivial use
macros are expanded. This branch has change replacing the inference engine and rebuilding it on top of new Macro.Env
API https://github.com/elixir-lsp/elixir-ls/pull/1116. With that macro expansion is possible in more places and this scenario is working.
Environment
Troubleshooting
.elixir_ls
directory, then restart your editorDescription/Problem
Autocomplete does not work for functions generated via
macros
in the same module/file. However, it works when called from other modules/files.Details
MyMacros.ex
MyMod.ex (Autocomplete does NOT works when typing
on
ortw
insidehello
)MyOtherMod.ex (Autocomplete works when typing
MyMod.t
orMyMod.o
insidehello
)Demo/Video
video-demo.webm