Community
Participate
Working Groups
Here is an example: My code: function foo(a) { if (a < 0) { return } // ...... } If I try to format this source code, the formatter will not work. But if I add a semicolon to return statement, and then format it again, it works.
Terry, I am assuming that this is JavaScript (since you just opened another bug against JavaScript). However, please provide useful details like the language being formatted, the version of Eclipse being used (the latest is Neon.3- is that what you are using?) and how you are getting WTP (are you using the Java EE EPP? Did you install part of WTP by itself?)