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: | XML Document Formatting and Indentation | ||
---|---|---|---|
Product: | xml | Reporter: | Merline Saintil <119304> |
Component: | Text-Edit | Assignee: | issues@xml <issues> |
Status: | VERIFIED FIXED | ||
Severity: | blocker | CC: | vnicolici |
Priority: | P2 | ||
Version: | -FFJ- | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 31726 | ||
Bug Blocks: | 32047 |
Description
Merline Saintil
2002-04-16 17:33:02 UTC
XML module should support this. Let these are considered while planning next release. Target milestone was changed from not determined to TBD Such feature was removed, because it requires hints from user to work properly. We have not yet agreed what minimal set of hints is needed. Subtask of issue 15749. *** Issue 27269 has been marked as a duplicate of this issue. *** *** Issue 15749 has been marked as a duplicate of this issue. *** *** Issue 31708 has been marked as a duplicate of this issue. *** We need hints to distingwish content-WS and indentation-WS. Now I realized that JTidy would not probably understand namespaces. It's 99% solution if we leverage it. JTidy takes hints in form of CSS. I'll raise that question a W3C CSS mailing lists. CSS level 3 may cover it: http://lists.w3.org/Archives/Public/www-style/1999Sep/0130.html *** Issue 30235 has been marked as a duplicate of this issue. *** *** Issue 33340 has been marked as a duplicate of this issue. *** I guess it was not implemented yet (even in 3.6) thus changing TargetMilestone from 3.6 to TBD BTW: it has so many duplicates that P4 is inadequate IMHO. Changing it to P2 isn't it strange marking this issue as subtask of issue #15749 which is a dup of this one? Please, see >------- Additional Comments From Petr Kuzel 2002-08-13 13:52 PDT >------- >Such feature was removed, because it requires >hints from user to work properly. We have not >yet agreed what minimal set of hints is >needed. > >Subtask of issue 15749. because issue #15749 has been marked as dup of this one, thus this issue can't depend on it. I removing it (issue #15749) from dependant list *** Issue 49232 has been marked as a duplicate of this issue. *** *** Issue 43329 has been marked as a duplicate of this issue. *** *** Issue 41309 has been marked as a duplicate of this issue. *** *** Issue 55097 has been marked as a duplicate of this issue. *** Please take this RFE into account when planning new features into next release. Together with #22510 this is one of two top required enhancements. "Together with #22510 this is one of two top required enhancements." -- you probably meant #17588 No, I actually meant the #26477. I was not specific enough since I was reviewing all RFEs filled against XML module. Sorry for confusion and thanks for the correction ... fixed mistakenly closed. OK. Let's handle this issue finally... The original usecase from 119304 (Merline Saintil) is not exactly what this issue claims in the summary. Since I implemented the XML formatting and indentation engine (even not hadling the original usecase) I am closing this issue since IMO the 22 votes was added not to the usecase, but to the missing indentation and formatting. Merline, if you really want to fix you usecase, please fill a separate issue for it. Verifying. If you insist on your very first usecase Merline, don't hesitate to file new RFE regarding the requirement. xml formatting has been included this I am aware of, however it is using all languages settings for formatting (possibly html I can't be certain). Can we please have a dedicated xml format option both tools > options and project -> properties. An application I develop for uses xml files to build a modification file (VQmod). This file can contain html php javascript or SQL (From memory could be more). The devs have a standard set for formatting that is just not achievable in xml files under the current options. For instance: indents PHP tabs = 4 spaces HTML tabs = 2 spaces Javascript = 2 spaces If i use tab -> 2 spaces, then I have to double indent php which is the majority of my code but cannot set tabs 4 because it screws with the indentation of html javascript. I guess what im requesting is the formatter check and indent to the correct language settings inside CDATA tags. I hope this makes sense. |