Closed jimblue closed 6 years ago
I have changed this on order to provide the Twig files with HTML5 intellisence, autocomplete, Emmet and hover that is all built into VSCode. Personally I think this provides a better experience but maybe I can make option to configure this.
Sure XP is better! Just this HTML5 icon is disturbing, maybe picky ^^
Haha I feel you! I'm just as picky... Hence this extension. I'll see what I can do
Thanks to try, don't want to loose my last eye! 😝
Another picky prick here :) Adding the following to your folder / workspace settings does the trick without messing any of the advantages provided by the extension:
"vsicons.associations.files": [ { "icon": "twig", "extensions": ["twig", "html"], "format": "svg" } ],
G'day mates, I have created a new extension to fix the issues that I (and all of you) were having with file associations, issues with commenting and also the most important issue with the icon in the sidebar.
https://marketplace.visualstudio.com/items?itemName=mblode.twig-language-2 https://github.com/mblode/vscode-twig-language-2
Simply add these lines to your VSCode settings to get emmet and HTML Intellisense working and also to associate HTML files as twig syntax.
"files.associations": {
"*.html": "twig"
},
"emmet.includeLanguages": {
"twig": "html"
},
Thanks for the fix 👍
One strange thing with the new update Twig file know are read as HTML5 files.
Is it possible to revert that?