JavaScript Formatter [message #882106] |
Tue, 05 June 2012 17:30  |
Eclipse User |
|
|
|
I've got Indigo installed, and am trying to adjust my JavaScript formatter settings to prevent a space from being added after the opening parenthesis in a for statement.
When I export my current settings for my formatter, and examine the values, I see this particular value:
<setting id="org.eclipse.jdt.core.formatter.insert_space_after_opening_paren_in_for" value="do not insert"/>
When I attempt to format my JavaScript, my "for" statements continue having a space added after the opening parenthesis.
It seems like a problem with the formatter (the other settings for the "for" statement appear to work as expected).
Can anyone confirm this is broken, or are my expectations incorrect?
FWIW, here is a sample statement this is being incorrectly formatted:
for ( var i = 0; i < keySplit.length; i++) { }
Thanks! Jeff.
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.25758 seconds