File plugin assosiating

已回答

Hi all.

I have big project with many file types with same extensions.

Example:

files/nginx

files/apache

files/systemd

some/other_configuration

I want that all files in files/nginx open with assosiating with plugin idea-nginx
All files in files/apache open with assosiating with plugin apache-config--htaccess-support

and soon

How I can get it?

Thnx!

0

File associations work only by file name pattern, you can't use the path of the file in the pattern.

0
Avatar
Permanently deleted user

Ok,

Is there any other way?

Maybe by the contents of the file?

Maybe by a comment in the header of the file?

0

请先登录再写评论。