Community
Participate
Working Groups
Hi Developers of javascript formatting, I've notuced a problem in formatting tool für javascript. Some expressions in a javsscript file causes javascript formatter to format nothing. E.g.: Test.prototype.test = function(result) { return Math.floor((result/ 1000) * 100.0) / 100; }; If I remove / 100, everthing ist ok, the whole file will be fortatted by Ctrl-Shift-f Test.prototype.test = function(result) { return Math.floor((result/ 1000) * 100.0); }; -- Configuration Details -- Product: Eclipse 4.7.1.20171005-1200 (org.eclipse.epp.package.jee.product)Installed Features: org.eclipse.platform 4.7.1.v20171009-0410
See also Bug 357829 and comment 21: https://bugs.eclipse.org/bugs/show_bug.cgi?id=357829#c21