Expand description
Perl import-management helpers for LSP code actions.
This crate intentionally focuses on a single responsibility:
collecting, classifying, and rewriting use/require statements.
Functionsยง
- collect_
imports - Collect import statements (
useandrequire) from source lines. - find_
imports_ range - Find the byte range containing the contiguous import block boundaries.
- guess_
module_ for_ function - Guess a module name for a common function.
- sort_
imports - Sort imports by category: pragmas, core, CPAN-style, then local.