Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

If your editor keeps the selection once you paste, you can just hit tab / shift + tab until the indentation's correct. And there's no counting “did I copy the correct number of close brackets”.

I actually find Python easier in this regard, even in editors where I have to re-select everything I just pasted.



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: