I create a fresh Elixir source file for a module name and recompile.
Used by the GT-side wrench "Create module" form to materialize a
missing module reference into an actual .ex file under the
chosen application's lib/ directory.
Public API
create/1— write the skeleton under the main project'slib/.create/2— write under a specific app'slib/(path-deps land indeps/<app>/lib/...).project_apps/0— apps the form's autocomplete offers.
Summary
Functions
I create the module under the main project's lib/.
I write defmodule <name> do; end under the chosen app's lib/.
Path-deps land in their checked-out source tree so changes propagate
back to the dep.
I list apps the form's autocomplete offers: the main project plus
every top-level dep declared in mix.exs. Returns [atom()].
Functions
I create the module under the main project's lib/.
I write defmodule <name> do; end under the chosen app's lib/.
Path-deps land in their checked-out source tree so changes propagate
back to the dep.
@spec project_apps() :: [atom()]
I list apps the form's autocomplete offers: the main project plus
every top-level dep declared in mix.exs. Returns [atom()].