Is there something more useful than copy/paste shortcuts?
Yes, there is. Copy/paste we can achieve using touchpad or mouse. But this shortcut we can’t.
It’s Control + I. What does it do? It formats code adding indentation. How many time did you paste the code and then manually added tab?
This shortcut same you time and nerves formatting someone code.
Let’s say we have some code pasted which isn’t formatted. Something like this:
Firstly, select some part of the code or select the whole file using Command ⌘ + A.
Then press Control + I.
That’s it. Now, this code looks much better.