[jbosstools-issues] [JBoss JIRA] (JBIDE-12824) Content Assist breaks the format of JSP/XHTML/XML document

Victor Rubezhny (JIRA) jira-events at lists.jboss.org
Tue Oct 30 13:07:01 EDT 2012


    [ https://issues.jboss.org/browse/JBIDE-12824?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12730143#comment-12730143 ] 

Victor Rubezhny edited comment on JBIDE-12824 at 10/30/12 1:05 PM:
-------------------------------------------------------------------

sure, it's possible to do... but why? "Autoinsertion" is a slightly new WTP feature. It wasn't used (or realized) in earlier versions. Also, IMHO,regarding XML, it's not good to auto insert something without a user's approval. I'd suggest to turn this option off for all our proposals. (I mean tags/attributes/values, not ELs).
                
      was (Author: vrubezhny):
    sure, it's possible to do... but why? "Autoinsertion" is a slightly new WTP feature. It wasn't used (or realized) in earlier versions. Also, IMHO,regarding XML, it's not good to auto insert something without a user's approval. I'd suggest to turn this option off for all our proposals.
                  
> Content Assist breaks the format of JSP/XHTML/XML document
> ----------------------------------------------------------
>
>                 Key: JBIDE-12824
>                 URL: https://issues.jboss.org/browse/JBIDE-12824
>             Project: Tools (JBoss Tools)
>          Issue Type: Bug
>          Components: jsp/jsf/xml source editing
>    Affects Versions: 4.0.0.Beta1
>            Reporter: Daniel Azarov
>            Assignee: Victor Rubezhny
>             Fix For: 4.1.x
>
>
> Test case:
> EXECUTE:
> 1. Create JSF 1.2 Kick Start project
> 2. Open inputUserName.jsp page in Visual Page Editor
> 3. Put cursor to tag <h:form id="greetingForm"> just after "f:form" then press Ctrl+Space
> FAIL:
> tag changed to "<h:form></h:form> id="greetingForm">" and problem marker "Missing start tag for "h:form"" appears on second end tag "</h:form>"

--
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


More information about the jbosstools-issues mailing list