Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Elixir Copy Module NameNew to Visual Studio Code? Get it now.
Elixir Copy Module Name

Elixir Copy Module Name

Kirill Kaiumov

|
26 installs
| (0) | Free
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

elixir-module README

Features

This extension gives two commands to copy the closest module name:

  1. "Copy short module name". Example:
defmodule MyProject.MyDomain.MyEntity do
end

If the cursor is located within the module the command will copy only MyEntity to the clipboard.

  1. "Copy full module name". Example:
defmodule MyProject.MyDomain.MyEntity do
end

If the cursor is located within the module the command will copy the whole MyProject.MyDomain.MyEntity to the clipboard.

Example of nested modules:

defmodule A.B do
  defmodule C do
    defmodule D do
    end
  end
end

If the cursor is located within the D module the command will copy the whole A.B.C.D to the clipboard.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft