How get docs to show on hover for controller functions in VS Code

I have the ElixirLS Fork extension installed on VSCode.

When I’m in my controller file, I can’t get autocomplete to show for controller functions like render or redirect. Their documentation doesn’t show up either when I hover on them.

The autocomplete does work for other modules in the same file, say for IO.inspect. And hovering shows the docs too.

Any config to change in the extension’s settings?

1 Like

There is currently a bug, that depending on your elixir and erlang versions, that imports or aliases from expanded macros won’t be respected.

Are you perhaps suffering from this issue?

2 Likes

Yes exactly! Seems like the issue has been discussed here earlier - Problem with 'use' Macro in VSCode + ElixirLS

1 Like