|
|
|
|
|
by still_grokking
1263 days ago
|
|
The "trick" is to copy and paste on the right block level. Just set the cursor appropriately (which the editor does for you if you use the feature to jump to block start or end). Than everything just works. (For that to work even better the stupid feature of some editors to remove white space form all empty lines should be disabled. So pressing enter or going to the next empty line will always position the cursor on the correct indentation level. Than it's easy to paste code blocks everywhere as even empty lines are correctly indented). |
|