Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>Perl insert packageNew to Visual Studio Code? Get it now.
Perl insert package

Perl insert package

utgwkk

|
1,657 installs
| (0) | Free
Insert package declaration for Perl
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

perl-insert-package README

Features

Insert package declaration for Perl

Completion

completion

Command

screenshot

Insert package name for Perl

QuickPick

insert package name with QuickPick

(EXPERIMENTAL) Completion

Package name completion]

Requirements

You can use this extension without any dependency. VS Code is only required.

Extension Settings

perl-insert-package.replaceRules

An array representing replace rules from file path to Perl package name.

Each rule consists of two or three parameters:

before

A regular expression of target Perl file path. {{name}} is a placeholder of Perl file name that will be converted into package name.

eg: "^lib/{{name}}\\.pm"

after

A conversion destination from file path to package name. {{package}} is a placeholder of package name, that is, {{name}} whose separators are replaced into ::.

eg: "{{package}}"

separator

A delimiter that is converted to ::. If omitted, default value / is used.

perl-insert-package.packageNameCompletion.enabled

Whether package name completion is enabled. Default value is false (disabled).

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