gaqdouble.blogg.se

Apex sql formatter wrap lines cuts
Apex sql formatter wrap lines cuts







apex sql formatter wrap lines cuts

Prettier’s printWidth option does not work the same way.

apex sql formatter wrap lines cuts

In practice, the average line length often ends up well below the maximum. Developers often use whitespace to break up long lines for readability. However, when humans write code, they don’t strive to reach the maximum number of columns on every line. In code styleguides, maximum line length rules are often set to 100 or 120. Specify the line length that the printer will wrap on.įor readability we recommend against using more than 80 characters: This way the Prettier CLI, editor integrations and other tooling knows what options you use.

apex sql formatter wrap lines cuts

If you change any options, it’s recommended to do it via a configuration file. To learn more about Prettier’s stance on options – see the Option Philosophy. Prettier ships with a handful of format options.









Apex sql formatter wrap lines cuts