This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.
# add file filters to open file dialog when a module is installed and remove those filters when that module is uninstalled. # able to specify icon for files with some extension. for example: it will be nice if the java files are shown with the same icon as in explorer.
It is a reasonable request to allow other modules to specify - custom icons - custom file filter(s) for the Open file dialog for files they (the modules) define.
In the current sources, the set of file filters is hard-coded in method org.netbeans.modules.openfile.OpenFileAction.prepareFileChooser() and no file filter is used. The above method could look for registered icons and file filters and make the file chooser to use them. Modules could register icons and file filters via XML layers, the Open File module would aks for them using Lookup.
Correction: ... and no special icons are used.
*** Issue 147362 has been marked as a duplicate of this issue. ***
It looks like that extension filters are still hardcoded. Especially inside PHP-only or Ruby-only IDE bundle it looks ugly.
(In reply to Jiri Vagner from comment #5) > It looks like that extension filters are still hardcoded. Filters are not hardcoded any more, see bug 209998.