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

Key: IDEABKL-5163
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Mossienko
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

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

XML: closing tag is not auto-inserted if an element contains same named element

Created: 18 Jun 07 16:16   Updated: 04 Jul 07 18:36
Component/s: XML editing
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,023


 Description  « Hide
Edit an XML where an element can contain same-named element. I tested this with dtd:
<!ELEMENT container (container | EMPTY)*>
<!ELEMENT root (container)*>

Provide an XML:

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE root SYSTEM "def.dtd">
<root>
	<container>
		CURSOR HERE
	</container>
</root>

At the location, pointed above, type opening tag <container>. When you finish, closing tag </container> is not automatically inserted, as usual.

This can be understood, because IDEA probably thinks that existing closing </container> matches the closest opening one. But this is somewhat not convenient. With such DTD IDEA could match the furthest tag, and provide auto-completion.

The same behaviour was in Demetra, 6180.



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