Koenigsegg
Koenigsegg

Reputation: 615

How to move multiple lines code together left or rights in Eclipse?

I want to select multiple lines and move them together (left/right/up/down). How to do that?

Upvotes: 20

Views: 53767

Answers (2)

The python circus
The python circus

Reputation: 11

you can use 'tab' or 'shift+tab' to move your code lines to right but it does not work when you want to move them to left, at least not in my python script.

Upvotes: 1

tobias_k
tobias_k

Reputation: 82899

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.

See Preferences -> General -> Keys.

Upvotes: 36

Related Questions