indentation of multiline (string) parameters


^ This is how my version of PhpStorm 'renders' indented multiline parameter-strings. It seems to force some extra 'fake' indentation, and it indents the indentation-helper-line a bit too. It drives me nuts :-)

When pasting above code in Notepad, it looks like this:


Which is pretty much exactly the way I want it.

Does anyone know how I can configure PhpStorm to stop doing this..?

3 comments
Comment actions Permalink

You can use Paste Simple (Ctrl+Alt+Shift+V) to make PhpStorm pasting the sample without reformatting it.
Apart from that, it makes sense to take a look at the continuation indent value at Settings | Editor | Code Style | PHP.

0
Comment actions Permalink

Thanks for your reponse. It doesn't solve the problem.

0
Comment actions Permalink

Maybe it's just an issue of representation then? Please enable Settings | Editor | General | Appearance | Show whitespaces and check what is the actual indent there.
Apart from that, please check if disabling smart tab at Settings | Editor | Code Style | PHP helps. If you are using tabs, of course.

0

Please sign in to leave a comment.