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 255535 - Remove custom file type
Summary: Remove custom file type
Status: NEW
Alias: None
Product: platform
Classification: Unclassified
Component: Options&Settings (show other bugs)
Version: 8.1
Hardware: PC Windows 7
: P3 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-09-24 09:48 UTC by vidhyadharantechdays
Modified: 2015-09-24 10:19 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description vidhyadharantechdays 2015-09-24 09:48:37 UTC
As per the test case i have created a new custom file type (.fodt)

But remove is not working in 

Product Version: NetBeans IDE Dev (Build 201509220002)
Java: 1.8.0_31; Java HotSpot(TM) 64-Bit Server VM 25.31-b07
Runtime: Java(TM) SE Runtime Environment 1.8.0_31-b13
System: Windows 7 version 6.1 running on amd64; Cp1252; en_IN (nb)
User directory: C:\Users\vde\AppData\Roaming\NetBeans\dev
Cache directory: C:\Users\vde\AppData\Local\NetBeans\Cache\dev


These are the steps i followed 

1. Invoke Options > Miscellaneous > File types dialog.
2. Click on "New.." button.
3. Write "fodt" as a file extension into dialog window.
4. Set it's Associated File Type (MIME) to "XML Files (text/xml) and click on OK.
5. Download [hello_TS_65_OptionsDialog.fodt] 
6. Open "hello_TS_65_OptionsDialog.fodt" file in IDE.
 create a xml file and save as .fodt


7. Invoke Options > Miscellaneous > File types dialog.
8.Select "fodt" File Extension and click on "Remove" button.
9.Close the Options window by clicking on OK button.
10.Open "hello_TS_65_OptionsDialog.fodt" file in IDE.

The file is still treated as XML file. Syntax highlighting, source formating etc. works properly. even after remove
Comment 1 Jiri Kovalsky 2015-09-24 10:19:12 UTC
Reassigned for further evaluation. This is reproducible.