Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>Twig code snippetsNew to Visual Studio Code? Get it now.
Twig code snippets

Twig code snippets

Nadim Al Abdou

|
106,530 installs
| (1) | Free
Twig code snippets for Visual Studio Code with support for Symfony, Craft CMS, Drupal and more.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Twig code snippets

A collection of Twig code snippets 362 for now & some twig support stuff like hover information and syntaxes highlighting.

Installation

Install this extention from vscode marketplace

Twig code snippets

or from vscode command :

ext install nadim-vscode.twig-code-snippets

Configuration

Key Type Default Description
twigCodeSnippets.enableTwig boolean true Enable/disable Twig core code snippets
twigCodeSnippets.enableSymfony boolean true Enable/disable twig symfony code snippets
twigCodeSnippets.enableContribute boolean false Enable/disable contributes code snippets
twigCodeSnippets.enableCraft boolean false Enable/disable Craft CMS twig code snippets
twigCodeSnippets.enableDrupal boolean false Enable/disable Drupal CMS twig code snippets
twigCodeSnippets.enableHover boolean true Enable/disable hover information

Supported languages (file extensions)

  • Twig (.twig | .html.twig)

Support level

Twig 90 Symfony 90 Craft 80 Drupal 40

improve the support

Contributing

Contributions are always welcome!

See contributing.md for ways to get started.

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