.twig Issue
Answered
Hello,
Intellij does not recognize .twig files. It keeps opening it using anoteher text editor.
I've installed all plugins. Did composer require twig/twig....composer dumpautoload.....
Thank you for your help.
regards
Mo
Please sign in to leave a comment.
Please ensure that "Twig" plugin is installed and enabled. If it so please provide idea.log ("Help | Show Log in...") after restarting IDE and reproducing the issue.
Remove the extension from the list here and use the provided plug-in as suggested by Yaroslav:
Hello Serge :)
I fixed the issue by adding in File > Settings > Editor > File Types
in the list, clicked on Twig and added *.twig extension in Registerd Patterns. Restart the system and voila :).
But I thinnk you trick could work too :)
Thank you both :)