Skip to content

d9705996/vscode-perl-moose

 
 

Repository files navigation

Perl Moose Extension for VS Code

Build Status

Perl Moose syntax highlight support for Visual Studio Code

Syntax Highlight

Features

This extensions includes Syntax Highlight for:

  • Moose, Mouse and Moo
  • Moose::Role and Mouse::Role
  • Moose::Util::TypeConstraints and Mouse::Util::TypeConstraints

Release Notes

See CHANGELOG.md to see latest changes

Contributing

The main grammar is stored in syntaxes/perl-moose.tmLanguage.json. This file is generated from src/syntaxes/perl-moose.tmLanguage.yaml:

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

License

This extension is distributed under MIT license.

Packages

No packages published

Languages

  • Perl 47.0%
  • TypeScript 34.1%
  • JavaScript 18.9%