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
Symfony
Craft
Drupal
improve the support
Contributing
Contributions are always welcome!
See contributing.md for ways to get started.
| |