vscode-twig-language-2 icon indicating copy to clipboard operation
vscode-twig-language-2 copied to clipboard

confusing vscode-twig-language-2

Open jimblue opened this issue 7 years ago • 3 comments

Which one should we use ? Are you developing both at the same time? What is the difference?

jimblue avatar Feb 13 '18 08:02 jimblue

At it's most basic, I created this extension to fix an issue that was infuriating me where Twig comments weren't working properly in ".html" files. They now work using this extension, however, HTML5 Intellisense doesn't work anymore in Twig Language 2. Hopefully someone with better VSCode extension development experience could fix this issue.

Twig Language 1 makes ".twig", and ".html.twig" files into HTML files. Then the extension adds Twig functionality only onto HTML files.

Twig Language 2 just adds Twig functionality to *.twig, and *.html.twig files. But you can use VSCode settings to associate *.html files as *.twig files.

I am still developing both but hopefully I can solve the commenting issue in VSCode for Twig Language 1 or the HTML5 Intellisense issue with Twig Language 2 👍

mblode avatar Feb 13 '18 22:02 mblode

Ok thanks for your answer! IMO you should merge both it's pretty confusing for user. 😉

jimblue avatar Feb 13 '18 22:02 jimblue

Stale issue message

github-actions[bot] avatar Aug 25 '19 23:08 github-actions[bot]