Skip to content
| Marketplace
Sign in
Visual Studio Code>Programming Languages>TwigLensNew to Visual Studio Code? Get it now.
TwigLens

TwigLens

Cerzat43

|
11 installs
| (0) | Free
Syntax highlight for Twig
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

vscode-twiglens

A Visual Studio Code extension that enhances syntax highlighting for Twig functions.

Installation

Visual Studio Code must be installed in order to use this plugin. If Visual Studio Code is not installed, please follow the instructions here.

Plugin Installation

  1. Open Visual Studio Code.
  2. Press Ctrl+P on Windows or Cmd+P on Mac to open the Quick Open dialog.
  3. Type ext install twig- to find the extension.
  4. Press Enter or click the cloud icon to install it.
  5. Restart Visual Studio Code when prompted.

Acknowledgements

The extension architecture is based off of the LSP Example for Embedded Language using Language Service and twig.tmbundle.

Contributing and Licensing

The project is hosted on GitHub where you can report issues, fork the project and submit pull requests.

The project is available under MIT license, which allows modification and redistribution for both commercial and non-commercial purposes.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft