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

Perl Moose

Albert M.

|
4,760 installs
| (2) | Free
Perl Moose support for Visual Studio Code
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Perl Moose Extension for VS Code

Build Status

Perl Moose syntax highlight support for Visual Studio Code

Syntax Highlight

Features

This extensions includes support for Moose and their minimalist variants (Mouse and Moo). Currently includes Syntax Highlight for following classes:

  • Moose
  • Mouse::Deprecated
  • Mouse::Exporter
  • Mouse::Object
  • Mouse::Role
  • Moose::Util
  • Mouse::Util::TypeConstraints
  • Test::Moose

Release Notes

See CHANGELOG.md to see latest changes

Contributing

The grammar sources is written in YAML in src/syntaxes/ folder and converted to textmate JSON format in build phase.

Building

To generate the main grammar:

npm install
npm run build

Testing

To run the grammar tests:

npm run test

The test cases are stored as markdown files under testFixture/colorize-fixtures. Grammar test results are stored under testFixture/colorize-results, which are automatically generated from the fixtures.

To test the grammar in VS Code, select the Extension Tests configuration in the VS Code debugger and run.

References

  • Moose::Cookbook::Snack::Keywords - Restricted "keywords" in Moose

License

This extension is distributed under MIT license.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft