Skip to content

Latest commit

 

History

History
33 lines (27 loc) · 2.55 KB

README.md

File metadata and controls

33 lines (27 loc) · 2.55 KB

Before and After (XD Theme: MixItUp variant)

Before After
code_before code_after

How do I use it?

  • If you already have the Prolog extension, sadly it needs to be disabled or uninstalled first because it will override this extension.
  • Perl unfortunately chose to have the same file extension as Prolog (.pl), and Perl is a built-in language.
    • so, to make the file show up as Prolog, follow this guide. guide
    • basically replace their "*.module": "php", with "*.pl": "prolog",
    • (if the changes don't seem to apply, try reloading VS Code)
  • After that just install the VS Code extension and the changes will automatically be applied.

What does this do?

This will get you the bleeding-edge syntax highlighting for Prolog. Which means your theme will be able to color your code better.

NOTE: The default VS Code theme does not color much. Switch to the Dark+ theme (installed by default) or use a theme like one of the following to benefit from the changes:

Like this extension?

You'll probably like this as well: The Better Syntax Megapack

Contributing

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