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.

Bug 40898 - Files of unknown format should always be given extension
Summary: Files of unknown format should always be given extension
Status: RESOLVED DUPLICATE of bug 38870
Alias: None
Product: ide
Classification: Unclassified
Component: Code (show other bugs)
Version: 3.x
Hardware: PC Windows ME/2000
: P3 blocker (vote)
Assignee: issues@ide
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-03-10 13:09 UTC by dynamite
Modified: 2004-05-31 14:44 UTC (History)
0 users

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dynamite 2004-03-10 13:09:46 UTC
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.
Comment 1 iformanek 2004-03-10 13:15:04 UTC
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.
Comment 2 Jesse Glick 2004-03-24 12:33:51 UTC
Agreed, issue #38870 seems to cover it.

*** This issue has been marked as a duplicate of 38870 ***
Comment 3 pgodeau 2004-05-26 09:40:01 UTC
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.
Comment 4 pgodeau 2004-05-26 10:16:36 UTC
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.
Comment 5 _ rkubacki 2004-05-31 14:44:20 UTC
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 ***