Automatically add Elixir module aliases when referencing modules in your code.
- Quick Alias Addition: Select a module name and automatically insert the correct
aliasstatement - Smart Module Discovery: Scans your project's
lib/anddeps/directories to build a module registry - Duplicate Detection: Prevents adding duplicate aliases
- Conflict resolution: Show a popover to select the correct module when multiple modules have the same name
- Keyboard Shortcuts: Use
Cmd+Shift+A(Mac) orCtrl+Shift+A(Windows/Linux)
- Elixir: Add Alias: Add an alias for the selected module name
- Elixir: Refresh Module Cache: Manually refresh the module cache (useful after adding new modules)
Screen.Recording.2025-08-21.at.12.40.58.mov
- In an Elixir file, write code that references a module:
InboxEmailAlerts.get_alert_by_message_id(message_id) - Select the module name
InboxEmailAlerts - Either:
- Press
Cmd+Shift+A(Mac) orCtrl+Shift+A(Windows/Linux) - Right-click and select "Add Elixir Alias"
- Open Command Palette (
Cmd+Shift+P) and run "Elixir: Add Alias"
- Press
- The extension will automatically insert
alias Parrot.Inbox.InboxEmailAlertsafter your defmodule line
- VS Code 1.74.0 or higher
- Elixir files with
.exor.exsextension
Calling out known issues can help limit users opening duplicate issues against your extension.
TODO: improve nested module handling TODO: dynamic cache rebuilding (when compilation is triggered?)
Users appreciate release notes as you update your extension.
Initial release of ...
Fixed issue #.
Added features X, Y, and Z.
Ensure that you've read through the extensions guidelines and follow the best practices for creating your extension.
You can author your README using Visual Studio Code. Here are some useful editor keyboard shortcuts:
- Split the editor (
Cmd+\on macOS orCtrl+\on Windows and Linux). - Toggle preview (
Shift+Cmd+Von macOS orShift+Ctrl+Von Windows and Linux). - Press
Ctrl+Space(Windows, Linux, macOS) to see a list of Markdown snippets.
Enjoy!