haidubogdan commented on PR #9289:
URL: https://github.com/apache/netbeans/pull/9289#issuecomment-4183941353

   The existing `MimeResolver` service implemented in `EnvFileResolver` will 
not change the already associated mime type.
   So, **js**, **ini** ... files will not be modified with the `env` mime type.
   But I think the current implementation should be changed ... so basically 
any file which starts with ".env." can be associated with the env mime type. 
Technically it can be considered dot file.
   
   My issue was with ".test" file extensions, I noticed that there are Symfony 
php Projects which use `.env.test` to specify a **env** file used for testing. 
   Overwriting this mime type can be done only with the custom 
`mime_resolver.xml` registration. But it's a nitpick.
   And then it's a matter of excluding netbeans generated files :) . (.lexer, 
.error) .
   
   I agree it is a bad naming convention, a bit confusing to find a pattern, 
but maybe we can find a balanced solution that can work for most of the IDE 
users. 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to