File Associations don't work when file only have extension(_no filename_) #7241
Replies: 3 comments 3 replies
-
This is not a bug, but works as intended (lines 232 + 239): With my linux hat on, I agree with that assessment. Traditionally files with leading dot are hidden files. So from that perspective |
Beta Was this translation helpful? Give feedback.
-
Yes, on linux, but windows is another story, right? |
Beta Was this translation helpful? Give feedback.
-
In the world of DOT files inside of the projects nowadays (.eslintrc, .prettierrc, .env, .anything) we should handle them too. It is not just a linux/windows thing anymore I would say. Let this convert to a discussion to talk about the cases. |
Beta Was this translation helpful? Give feedback.
-
Apache NetBeans version
Apache NetBeans 21
What happened
On php laravel there is
.env
file, without name, only extensionhttps://github.com/laravel/laravel/blob/58baff2c70144c7cd4c04eecb51fee5a24e873a8/composer.json#L42
After adding File Association, works on any
*.env
file, except for the one that has no name, only extension(main one)Language / Project Type / NetBeans Component
PHP project
How to reproduce
Just create any file with new extension but without name, only the extension, add the File Association(I'm using
text/x-apache-conf
), then File Association does't work on that fileDid this work correctly in an earlier version?
No / Don't know
Operating System
Windows
JDK
11
Apache NetBeans packaging
Apache NetBeans provided installer
Anything else
No response
Are you willing to submit a pull request?
No
Beta Was this translation helpful? Give feedback.
All reactions