This extension gives two commands to copy the closest module name:
- "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.
- "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.