athorcis.brackets-twig
v1.1.3
Published
Highlight Twig syntax inside HTML files
Downloads
5
Readme
Brackets Twig
A Brackets extension to highlight Twig syntax inside HTML files.
Install from URL
- Open the the Extension Manager from the File menu
- Copy paste the URL of the github repo or zip file
Install from file system
- Download this extension using the ZIP button above and unzip it.
- Copy it in Brackets'
/extensions/user
folder by selectingHelp > Show Extension Folder
in the menu. - Reload Brackets.
FAQ
Why Twig isn't defined as default language for .twig files ?
It's because the HTML language already define itself as default language for .twig files and there is no way to override this behavior programmatically.
But you can change it quite easily, start by opening one of your twig files in Brackets, then switch the language to Twig and then click on the button which is at the top of the language menu (it says "Set as Default for .TWIG Files")