Skip to content

Conversation

@doorgan
Copy link
Collaborator

@doorgan doorgan commented Jan 3, 2026

Closes #137

Adds an Add require for <module> code action.

Screen.Recording.2026-01-02.at.9.51.50.PM.mov

It uses these diagnostics to determine if the code action should be shown:

  • You must require <module> before invoking the macro <module>.<fun>/<arity>
  • <module>.<fun>/<arity> is undefined or private. However, there is a macro with the same name and arity. Be sure to require <module> if you intend to invoke this macro

There's also some minor refactors to generalize the Aliases logic to insert require directives and other directives we may want to add in this way

@doorgan doorgan force-pushed the doorgan/require-codeaction branch from 0db661c to e46f3aa Compare January 3, 2026 00:36
@doorgan doorgan force-pushed the doorgan/require-codeaction branch from e46f3aa to 3cfe84e Compare January 3, 2026 00:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

Require Module code action

2 participants