Skip to content

nalabdou/twig-code-snippets

Repository files navigation

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.