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

Better Perl Syntax

Jeff Hykin

|
10,949 installs
| (2) | Free
An update to the syntax of Perl
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

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:

  • Material Theme
  • Noctis
  • XD Theme
  • One Monokai Theme
  • Winteriscoming
  • Popping and Locking
  • Syntax Highlight Theme

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/cpp-textmate-grammar

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