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.
When I try to create a new XML file using the new File/Folder... wizard the '.xml' is always appended to the entered filename. For example if I want to create an xml file named 'blah-blah.xmi', the actual file would be 'blah-blah.xmi.xml'. There should be a possibility to create a file with a custom extension that would be trated as XML by the IDE. Btw, .xmi is not registered as xml/text mime type. I assume that this should be fixed as well.
1. To create a file with XMI extension please use "Other" category and "Empty File" file type. 2. In order to register XMI files as XML objects, please follow this procedure: 2.1 Invoke "Tools | Options" from main menu. 2.2. Select "IDE Configuration|System|Object Types|XML Objects" node. 2.3. Click "..." button next to value of "Extensions and MIME Types" property. 2.4. "Add" xmi and text/xmi items to the list and push "OK" afterwards. 2.5. "Close" the options window. Now all your .xmi files will have XML functionality in the editor. Resolving as works for us since required functionality is available in the IDE.
Verified