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

Viacheslav Kabanovich (JIRA) jira-events at lists.jboss.org
Mon Aug 20 11:04:01 EDT 2007


    [ http://jira.jboss.com/jira/browse/JBIDE-801?page=comments#action_12372951 ] 
            
Viacheslav Kabanovich commented on JBIDE-801:
---------------------------------------------

This is WTP, we do not contribute into formatting.

> 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
>         Assigned To: Viacheslav Kabanovich
>         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