Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » JavaScript Formatter (White Space After Opening Paren in for)
JavaScript Formatter [message #882106] Tue, 05 June 2012 17:30 Go to previous message
Jeff Wald is currently offline Jeff Wald
Messages: 3
Registered: June 2012
Junior Member
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.
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Can't get my web applications to deploy to Tomcat
Next Topic:Eclipse - JBoss Development problem
Goto Forum:
  


Current Time: Sat May 25 04:18:13 EDT 2013

Powered by FUDForum. Page generated in 0.06047 seconds