Skip to content

chronicle/yara-l-extension

Repository files navigation

YARA-L Extension for VS Code

Provides syntax highlighting for YARA-L in VS Code.

Created to the YARA-L 2.0 language specification.

Screenshot Showing Highlights in YARA-L File

How to Use

  1. Download the YARA-L Extension .vsix file from the project's GitHub page.

  2. In the VS Code Extensions view, click the "Views and More Actions..." button.

  3. Select "Install from VSIX..." and upload the extension from your local device.

  4. Open or create a .yaral or .yl2 file and start coding!

Installation Process

Initialize YARA-L Theme

If the YARA-L theme does not automatically apply, you can manually set it by following these steps:

  1. Open Command Palette: Use the keyboard shortcut Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (macOS) to open the Command Palette.

  2. Access Theme Settings: Type "Color Theme" in the Command Palette and select "Preferences: Color Theme" from the list of options that appear.

  3. Select YARA-L: Scroll through the list of available themes until you find "YARA-L Theme", then select it. If you have many themes installed, you can start typing "YARA-L Theme" to filter the list.

The YARA-L theme should now be applied to your Visual Studio Code editor.

Acknowledgements

Thanks to @the2dl for contributing the custom theme!