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

Key: IDEADEV-25937
Type: Bug Bug
Status: Open Open
Priority: Normal Normal
Assignee: Dmitry Avdeev
Reporter: Alexander Chernikov
Votes: 0
Watchers: 0
Operations

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

JSP / HTML: pressing Tab in smart completion list is incorrectly processed within existing tag

Created: 14 Apr 08 18:50   Updated: 14 Apr 08 18:50
Component/s: Editor. Code Completion, HTML.Editing, J2EE.JSP
Fix Version/s: None

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

Build: 8,293


 Description  « Hide
Provide a JSP and HTML with existing tag. JSP:
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>Title</title></head>
<body>
<objegd/>
</body>
</html>

HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
		"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
	<title>Smart taglib</title>
</head>
<body>
<objegd/>
</body>
</html>

Put cursor after "obje" characters and Ctrl+Alt+Space. Get "object" suggestion.
Press Tab. Result is incorrect in both files. JSP:

<%@ taglib prefix="null" uri="http://www.w3.org/1999/html" %>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head><title>Title</title></head>
<body>
<null:object/>
</body>
</html>

HTML:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
		"http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:x="http://www.w3.org/TR/html4/loose.dtd">
<head>
	<title>Smart taglib</title>
</head>
<body>
<x:object/>
</body>
</html>


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