I know in Eclipse you can slide a line/block of text up and down by using Alt+Up and Alt+Down, but is there a keystroke to slide a chunk of text left or right?
Say I typed this:
int age = getAgeAtDeath("Years", "1980-12-08", "1940-10-09");
Is there any way I can highlight the , "1940-10-09"
and slide the chunk left one character at a time? I know I can cut/paste any number of ways so I'm really just looking to know if there's a left/right equivalent of Alt+Up / Alt+Down.
Thanks!
Moving lines left or right, i.e. changing the level of indentation, can be done in almost all code editors using Tab and Shift + Tab . Moving blocks of code up and down can be done in Eclipse using Alt + up and Alt + down .
Select your block of text and hit tab.... shift-tab will back-dent it.
There is no command to do that. I've wanted it at times, too. But if you look at the General > Keys in preferences, you can see that there are only commands for Move Lines Up and Move Lines Down.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With