Search code examples
phpstorm

How do I tell PhpStorm to stop open a file with an external editor?


For some reasons, in my current PHP Project in PhpStorm, when I click on one of my file in my project explorer panel, PhpStorm opens it in an external editor. I have others files with the same extension that opens correctly in PhpStorm.

How can I tell PhpStorm to stop doing that ?


Solution

    1. Settings/Preferences | Editor | File Types

    2. Find Files Opened in Associated Application entry in the top list

    3. Remove unwanted entry that affects that file from the bottom list (Registered Patterns).

    enter image description here