[jbosstools-issues] [JBoss JIRA] Updated: (JBIDE-801) Code formater breaks

Adrian Mitev (JIRA) jira-events at lists.jboss.org
Mon Aug 20 08:40:02 EDT 2007


     [ http://jira.jboss.com/jira/browse/JBIDE-801?page=all ]

Adrian Mitev updated JBIDE-801:
-------------------------------

    Attachment: after format.JPG

> Code formater breaks 
> ---------------------
>
>                 Key: JBIDE-801
>                 URL: http://jira.jboss.com/jira/browse/JBIDE-801
>             Project: JBoss Tools
>          Issue Type: Bug
>         Environment: RHDS beta1, windows XP, jdk 1.5._0.12
>            Reporter: Adrian Mitev
>         Attachments: after format.JPG, before format.JPG
>
>
> I'm editting xhtml page and have the following code:
> <table
> 	style="border: 2px solid #{a4jSkin.additionalBackgroundColor}"
> 	width="100%" cellspacing="0" cellpadding="0">
> 	<tr>
> 		<td width="50%" style="background-color: #{a4jSkin.additionalBackgroundColor}">#{projMsg.components}</td>
> 		<td width="50%" style="background-color: #{a4jSkin.additionalBackgroundColor}">#{projMsg.versions}</td>
> 	</tr>
> ...
> After i invoke code formatter - ctrl+shift+f the it formats the code but breaks the EL expressions inside the style property
> The code looks like this:
> <table
> 	style="border: 2px solid #{ a4jSkin . additionalBackgroundColor"
> 	width="100%" cellspacing="0" cellpadding="0">
> 	<tr>
> 		<td width="50%" style="background-color: #{ a4jSkin . additionalBackgroundColor">#{projMsg.components}</td>
> 		<td width="50%" style="background-color: #{ a4jSkin . additionalBackgroundColor">#{projMsg.versions}</td>
> 	</tr>
> ....
> There are some space inserted and the closing "}" bracket is removed.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbosstools-issues mailing list