History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEA-16333
Type: Cosmetics Cosmetics
Status: Open Open
Assignee: Dmitry Avdeev
Reporter: Taras Tielkes
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Feedback

Inconsistent "highlight usages" for namespace in XML document

Created: 14 Nov 07 00:07   Updated: 02 Feb 08 17:02
Component/s: XML editing

File Attachments: None
Image Attachments:

1. screenshot-1.jpg
(51 kb)

Build: 7,549
Severity: Low


 Description  « Hide
Trivial cosmetics...

When caret is on a namespace declaration, Ctrl-Shift-F7 highlights the "location" part of the matching "xsi:schemaLocation" pair, but not the current element.
This is really a "beyond trivial" issue, since there probably will never be another reference a given XML file.

Still, it would be more consistent if:

  • current element (namespace part of namespace declaration) would be highlighted (using "write/definition" location)
  • the namespace part of the matching "xsi:schemaLocation" pair would be highlighted (instead of the location), since logically that is the part the refers to the namespace

See attached screenshot. Caret marked with black bar.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.