Reputation: 37806
I can shift a line of code or a block of code in Eclipse by the following way:
How to do the same thing in IntelliJ IDEA?
Upvotes: 18
Views: 41215
Reputation: 10463
Assuming we use "shift" and "indent" as synonyms:
It will do (almost) the same in Eclipse and IntelliJ.
For the commands above we assume that you selected at least one character, if you just place your cursor somewhere the [tab] key will obviously just insert a tab (or some spaces, depending on your config).
Upvotes: 48