Wrong line indents after data paste

When I copy one block of text which has 2 tabs in the beginning of each line:
1.png

And paste it, here is what I get:
2.png
First line starts at the cursor, then cursor moves down (not to the beginning of line, but just below "$this->...") and 2 tabs are still added(

That didn't happen in PhpStorm < 3 All lines where copied as is.
Maybe you have an option to control this in the settings?

Thanks!

2 comments
Comment actions Permalink

Hi Igor,

Please check File | Settings | Editor | Smart Keys --> Reformat on Paste

1
Comment actions Permalink

Yes that's worked!

Thank you, Andriy!

0

Please sign in to leave a comment.