Icons made by Good Ware from www.flaticon.com
vscode extention for perl auto use
- This extension conforms to Perl's style guide (https://perldoc.perl.org/perlstyle.html)
- Subroutine is all lowercase
- No space between function name and opening parenthesis
- No space before semicolon
- Module is PascalCase
filesToScan
: Perl module directory for scanning- Multiple directory can be specified
- Separate with white space
- For cpan module and test module etc
- Multiple directory can be specified
Scan perl module files
- Scan Perl module files for subsequent auto-using.
Auto use (exec after scanning)
- Add module dependency declarations by
use
function.
- Add module dependency declarations by
Check details by a gif animated image below:
- complement
use
function automatically without executing commands - specify the directory for forecast functions
- only forecast target exported by
Exporter
Module (@EXPORT,@EXPORT_OK
)- does not work well if a function to get a function name in package is specified
- coressponding to a function to get a function name in package
- cache the function forecast options