I agree...I've never managed to have auto-formatting work well in eclipse unfortunately. I usually use emacs js2-mode + IntelliJ, both of which have excellent JS auto-formatting.
-Brian ________________________________________ From: Chip Childers [chip.child...@sungard.com] Sent: Wednesday, July 03, 2013 9:00 AM To: dev@cloudstack.apache.org Subject: Re: Coding Convention Reminder On Wed, Jul 03, 2013 at 09:48:51AM +0100, Ian Duffy wrote: > Any suggestions for formatting the Javascript files? The few I've > looked at seem to be riddled with indentation errors and trailing > whitespace. When I right click on them in eclipse and hit clean up I > get the following error: "The resource is not on the include path of a > javascript project" Eclipse really doesn't have the smarts to understand complex js. I'd avoid doing the auto-formatting in those files.