Code formatting and word wrap

I'm in a .php file and when I hit Ctrl+Shift+F to format the code, it word-wraps some elements, like putting an ending paragraph tag on the next line... which ends up making a lot of code inconsistently formatted.

it looks like the gray vertical line is where it decided to word wrap, but I'm not finding the option to change this line or disable the word wrap.

When I type there is no word wrap.

0

It's in File | Settings | Editor | Code Style | PHP > Wrapping and Braces tab. "Grey line" value can be set there also: Hard wrap at ...

1

请先登录再写评论。