Search code examples
intellij-ideaphpstorm

Is it possible to change the file association for all files under a directory in intelliJ/PhpStorm?


Is it possible to change the file association for all files under a directory?

Example: The default *.ts is registered for TypeScript.

All *.ts files in the Folder TypoScript is registered for TypoScript.

The pattern /TypoScript/?*.ts does not work.

I am using intelliJ 15.

In another Question i asked if i can select the editor i want to open the file with. This is possible in the eclipse ide. This is also not possible.


Solution

  • No, there is no such way. File type associations check only the name of the file, not the directory.