File type association

Answered

 A little while ago I made a file and forgot to call it .php  (heroes) so it became a text file. Instead of deleting and starting again I renamed it heroes.php but it remained a text file. 

Oh well, tant pis. 

Except that now, every time I make a file called heroes.php it is a text file instead of a php  file. And it's a filename I use on most projects (or at least I used to)

Where is this association stored and how do I delete it?

0
2 comments

Hi there,

  1. Settings/Preferences | Editor | File Types
  2. Locate "Text" entry in the top list
  3. Find and remove unwanted pattern in the bottom list: will be "heroes.php" or similar to that
2
Avatar
Permanently deleted user

Absolutely spot on! (and I found a few more in there too)

Thanks Andriy, you are Hero of the Day.

0

Please sign in to leave a comment.