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.
By default files aren't given their extension. This is good. The icon says it all. However, files that are treated as text files are different. The extension is the only way of identifying what the true file type is. Always providing the file type is clearly overkill. Some files are just general text rather than of an unknown format. Proposed solution: in dialog box that asks if a file should be treated as text provide an additional option that asks if the file should be considered of an unknown format. For unknown format files, the extension can then always be given.
Please note that other enhancement - http://www.netbeans.org/issues/show_bug.cgi?id=38870, actually proposes to show the extensions by default, and it seems that this may be the way to go for 4.0.
Agreed, issue #38870 seems to cover it. *** This issue has been marked as a duplicate of 38870 ***
Not agreed, this is not the same as issue #38870. We'd like text files, and more generally unknown file types, to show their extensions. Files recognized by IDE (java, etc.) should not show extensions.
More precisely, if file type is recognized by IDE but there may be several extensions for this type (eg. foo.txt, foo.log, foo.c) then show the extension.
I agree with Jesse that issue 38870 covers this problem for NB4.0 where different view is used to provide access to logical elements of project (no extensions) and another view to show physical representation where extensions are important part of information. Suggested artificial solution seems to be overkill to me. *** This issue has been marked as a duplicate of 38870 ***