[
https://issues.jboss.org/browse/JBIDE-12390?page=com.atlassian.jira.plugi...
]
Isaac Rooskov updated JBIDE-12390:
----------------------------------
Release Notes Docs Status: Documented as Feature Request
Writer: irooskov
Release Notes Text: A new quick fix has been implemented for the WTP issue
marker: Missing required attribute. The new quick fix allows for the missing attributes to
be automatically added into the code being written.
"Add missing required attribute(s)" quick fix for
"Missing required attribute" WTP problem marker
-------------------------------------------------------------------------------------------------
Key: JBIDE-12390
URL:
https://issues.jboss.org/browse/JBIDE-12390
Project: Tools (JBoss Tools)
Issue Type: Feature Request
Components: jsp/jsf/xml source editing
Reporter: Daniel Azarov
Assignee: Daniel Azarov
Labels: new_and_noteworthy
Fix For: 4.0.0.Beta1
Attachments: AddAttributeQuickFix.png, AddAttributeQuickFix.png
Now WTP creates such problem markers only for jsp files and only after file saving
Test case:
EXECUTE:
1. Create JSF Kickstart project
2. Create file test.jsp:
{code}
<%@ taglib
uri="http://java.sun.com/jsp/jstl/xml" prefix="x"
%>
<html>
<head>
<title>Input User Name Page</title>
</head>
<body>
<x:if></x:if>
</body>
</html>
{code}
3. Save file test.jsp and close editor
4. Point mouse to tag <x:if>
ASSERT:
Text hover with quick fix "Add 'select' attribute to 'x:if'
tag" appears
EXECUTE: Select quick fix
ASSERT: attribute 'select' appears in tag 'x:if'
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see:
http://www.atlassian.com/software/jira