Community
Participate
Working Groups
Build Identifier: 20110218-0911 The line width settings are all set to 132 characters, but the formatter assumes 80 characters in quite a few instances. Example: public void x() { xxxxxxxxxxxxx xxxxx = xxxxxxxxxxxxxxxxxxxxxxxxxx(3, new int[] { 3, 4, 3 }, 2); xxx xxxxx = xxxxxxxxx(3, new int[] { 3, 4, 3 }, 2); } wraps the first assignment even though it is far from 132 chars wide. A similar assignment, but <80 characters wide, will not wrap. Reproducible: Always Steps to Reproduce: 1. Create formatter profile with Maximum Line Width set to 132 2. format some code with length >80 <132 3. See it wrap unnecessary
Can you please attach your formatter profile? (Export from the formatter settings and attach here). Thanks!
Nevermind. Probaly user error. There was a strangly named ("-") local project preference that overrode the global settings.