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-files: show attributes of collapsed tags | ||
---|---|---|---|
Product: | editor | Reporter: | argonym |
Component: | Code folding | Assignee: | Svata Dedic <sdedic> |
Status: | REOPENED --- | ||
Severity: | normal | ||
Priority: | P3 | ||
Version: | 7.4 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: |
Description
argonym
2013-04-12 15:24:14 UTC
Might be useful, but would require a heavy user configuration. In general it is not possible to guess which of the attributes is the 'most important one'. Either some heuristic must be applied (show only when there's a single attribute ? Some specific attribute names - id,name,...) or user configuration based on QName must be provided. Specific modules (e.g. Spring, JSF, XSL) might register some metadata or comment readers that support more sensible for their XML documents. BTW definitely not a P1 enhancement, the gain from the feature is not that enormous. Indeed, I cannot think of any useful heuristic, and configuration might be overkill in relation to the possible benefits (except for on/off maybe, in case a user wants a clean overview). I'd suggest to be pragmatic and just list the attributes in the order they appear in the node, usually there is also some reasoning underlying that. Sorry for the wrong priority, I assumed that 'higher number' means 'higher priority'. This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue. Thanks for your cooperation, NetBeans IDE 8.2 Release Boss |