Reference

Contents

Index

UseAll.@useallMacro
@useall Module1 [Module2 ...]

Import all useful names from the given modules into the caller's module namespace.

Unlike using Module, which only imports the explicitly exported names, @useall imports all names — including private and imported ones — except for hidden compiler-generated names (starting with #) and names already present in the target module (such as eval and include).

Supports top-level packages, submodules, and submodules of the current module:

@useall TOML Base.Iterators MyModule

Submodules of the caller's module (e.g. defined in Main) are detected automatically: use @useall MyModule instead of @useall .MyModule, as the latter is invalid syntax in Julia.

When Revise.jl is loaded, newly exported symbols are automatically imported after revision.

Examples

using UseAll
@useall TOML
@useall TOML Base.Iterators
source