Search code examples
phpstormphalconvolt

How to change recognized file type in PhpStorm 10?


I did mistake for recognizing *.volt file type as XML. It's supposed to Twig file types. I've read on many sources just like opening menu on "Settings->Editor->File Types". I can't find any "File Types" menu in this version nor the plus button to add another file types. What must I do then? I know this is a silly question, but still make me frustated. Thanks


Solution

  • Soft solution: Open Settings->Editor->File Types go to XML and find *.volt there. Then just remove it. enter image description here

    Hard solution: navigate to .Webide100/config directory and find file with content volt. Probably it will be XML file. Then you can remove extention and restart phpstorm.