Closed GoogleCodeExporter closed 9 years ago
do you have any special plugin? because my eclipse formattes like this:
private native JavaScriptObject jsInit() /*-{
var self = this;
(function() {
alert("Hello");
})();
}-*/;
Original comment by vojta.kr...@gmail.com
on 20 Jun 2012 at 12:45
it will be hard, but doable.
Original comment by vojta.kr...@gmail.com
on 20 Jun 2012 at 6:00
Original comment by vojta.kr...@gmail.com
on 21 Jun 2012 at 10:42
fixed in 2.1
Enjoy.
Original comment by vojta.kr...@gmail.com
on 22 Jun 2012 at 8:23
wow, thank you! works perfectly :)
Original comment by Dmitrijs...@gmail.com
on 1 Jul 2012 at 12:15
Do I need to modify anything to make this work?
Original comment by javim...@gmail.com
on 11 Apr 2013 at 12:43
just configure Java and JS config file and tick the checkbox
Original comment by vojta.kr...@gmail.com
on 11 Apr 2013 at 12:44
Wonderful, for future reference in case anybody has the same question.
In IntelliJ there's an option called: "Enable GWT native methods formatting".
I had to create a copy of the default eclipse profile, then I selected the
following file:
org.eclipse.wst.jsdt.core.prefs
Original comment by javim...@gmail.com
on 11 Apr 2013 at 12:53
Original issue reported on code.google.com by
Dmitrijs...@gmail.com
on 20 Jun 2012 at 12:35