Perl Moose syntax highlight support for Visual Studio Code
This extensions includes support for Moose and their minimalist variants (Mouse and Moo). Currently includes Syntax Highlight for following classes:
- Moose
- Moose::Deprecated
- Moose::Exporter
- Moose::Object
- Moose::Role
- Moose::Util
- Moose::Util::TypeConstraints
- Test::Moose
See CHANGELOG.md to see latest changes
The grammar sources is written in YAML in src/syntaxes/ folder and converted to textmate JSON format in build phase.
To generate the main grammar:
npm install
npm run build
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.
- Moose::Cookbook::Snack::Keywords - Restricted "keywords" in Moose
This extension is distributed under MIT license.