简体   繁体   English

是否可以更改 intelliJ/PhpStorm 目录下所有文件的文件关联?

[英]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.示例:默认的 *.ts 是为 TypeScript 注册的。

All *.ts files in the Folder TypoScript is registered for TypoScript.文件夹 TypoScript 中的所有 *.ts 文件都为 TypoScript 注册。

The pattern /TypoScript/?*.ts does not work.模式 /TypoScript/?*.ts 不起作用。

I am using intelliJ 15.我正在使用 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.这在 eclipse ide 中是可能的。 This is also not possible.这也是不可能的。

No, there is no such way.不,没有这样的方法。 File type associations check only the name of the file, not the directory.文件类型关联仅检查文件名,而不检查目录。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM