Reputation: 1003
I'm wanting PhpStorm to put the caret on the beginning / left margin of the new line when I press the enter key. Currently it indents the line according to the code above, which I don't want it to do. I've dug through settings and tried multiple things, but have yet to figure out how to turn this off.
This is how it looks. I have the caret at the end of the line:
I press the enter key, it indents on the next line (which I don't want it to do):
This is how I want it to function (the caret is on the left margin, no tabs were added):
Any ideas on how to get this to function this way?
Upvotes: 0
Views: 951
Reputation: 1
Preference->Editor->Code Style->PHP->Other->check "indent code in PHP tags".
Upvotes: -1