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.
Summary: | Rename HTML Element works but not for XML. | ||
---|---|---|---|
Product: | xml | Reporter: | Christian Lenz <chrizzly> |
Component: | Text-Edit | Assignee: | Svata Dedic <sdedic> |
Status: | NEW --- | ||
Severity: | normal | CC: | markiewb |
Priority: | P1 | ||
Version: | 8.0 | ||
Hardware: | PC | ||
OS: | Windows 7 | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
Christian Lenz
2014-03-21 10:26:12 UTC
I figured out that if the root folder is public_html, all is fine, I can rename xml files too but if we have no root folder or we have a folder called public inside public_html or not inside, it doesn't matter, the renaming feature doesn't work anymore. The same for Remove surrounding tag, surround with tag. No hints are available. The feature was not planned or implemented for XMLs, changing to an enhancement. But what I figured out was that it's working for XML files, if I created a normal HTML5 project, if I changed the rootfolder to the main projectfolder or added a public folder to the plublic_html folder or whatever, its broken. Refactoring doesn't work in a clean maven pom project inside pom.xml or settings.xml or other xml files. FYI Code for HTML-Rename is based on CSL html.editor/src/org/netbeans/modules/html/editor/gsf/HtmlRenameHandler.java Can't refactor XML tags inside a layer.xml file inside a netbeans module too. |