Perl Moose syntax highlight support for Visual Studio Code
This extensions includes Syntax Highlight for:
- Moose, Mouse and Moo
- Moose::Role and Mouse::Role
- Moose::Util::TypeConstraints and Mouse::Util::TypeConstraints
See CHANGELOG.md to see latest changes
The main grammar is stored in syntaxes/perl-moose.tmLanguage.json. This file is generated from src/syntaxes/perl-moose.tmLanguage.yaml:
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.