/better-perl-syntax

An improvement to the perl syntax for VS Code

Primary LanguageRubyMIT LicenseMIT

What does this do?

This enables your theme to better color your code. There are "textmate scopes" that your theme uses to apply color, this extension adds/improves the textmate scopes which should improve the way your code looks.

NOTE: The default VS Code theme does not color much. Use a theme like one of the following to benefit from the changes:

How do I use it?

Just install the VS Code extension and the changes will automatically be applied to all relevent files.

Before After
code_before code_after

What is different?

It adds:

  • Numbers
  • Operators
  • Function Calls
  • Word operators
  • Caret Special Variables
  • Function brackets
  • General Punctuation

Contributing

If you'd like to help improve the syntax, take a look at source/languages and look at the generate.rb files. And make sure to take a look at CONTRIBUTING.md to get a better idea of how code works.

What if I see a highlighting bug?

Post an issue on https://github.com/jeff-hykin/better-perl-syntax