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 6943 - Automatic recognition of new file extensions
Summary: Automatic recognition of new file extensions
Status: CLOSED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 3.x
Hardware: PC All
: P4 enhancement (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks: 7184
  Show dependency tree
 
Reported: 2000-06-30 22:42 UTC by Mark Wallace
Modified: 2003-07-01 15:16 UTC (History)
1 user (show)

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 Mark Wallace 2000-06-30 22:42:18 UTC
Currently, when I mount a file system that contains files with an unrecognized
extension, if I double click on the file, nothing happens.

Instead, when I double click on an unknown file type, I would like it to ask me
what to do. For instance, it could ask if I want to treat it as a text file, or
if I would like to treat it in the same way as file of a known extension. When
it asks, there should be a check box to say whether or not it should remember.
Later I can change this with the global options, if I want different behavior.

This is a lot like the behavior in the Windows explorer, or course.
Comment 1 Jaroslav Tulach 2000-07-06 16:21:59 UTC
Hard to solve, but will be considered during rewrite of DefaultDataObject.
Comment 2 Jesse Glick 2000-07-11 14:29:59 UTC
You can already right-click on the object and treat that (individual) object as
a text file thereafter.
Comment 3 Jaroslav Tulach 2000-07-19 08:05:59 UTC
(Taken from 7097 by stevef@forte.com)
Would be more helpful if a message popped up suggesting how to proceed.
When I encountered this, tool/convert to text is what I wanted to do.
File was a gnu makefile and so had no extension.
Comment 4 Jaroslav Tulach 2000-07-19 08:06:59 UTC
The text module should modify default action (the first action) of default
loader (the last loader in pool) to be Convert To Text.
Comment 5 Ann Sunhachawee 2000-08-04 22:24:59 UTC
also see bug 7200
Comment 6 Peter Zavadsky 2000-08-08 10:12:59 UTC
[main trunk] Fixed in main trunk, waiting for approval to fix in boston branch;

According Jarda's suggestion (see add comments), the text module ("owner of
convert to text action") sets the ConvertToText action as default one for
DefaultDataObjects (ths is set for their loader) during installation of text
module. It removes that action during uninstallation. This should allow much
more convenient handling with DefaultData Objects.
Comment 7 Peter Zavadsky 2000-08-08 15:45:59 UTC
[boston] see previous comment.
Comment 8 Quality Engineering 2003-07-01 15:15:26 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.
Comment 9 Quality Engineering 2003-07-01 15:16:52 UTC
Resolved for 3.3.x or earlier, no new info since then -> closing.