Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Indenting multiple lines: Keyboard shortcut

Tags:

eclipse

I think I was told once how to indent an entire collection of lines quickly and at the same time with a keyboard shortcut in Eclipse (I'm using Juno with PyDev-Python). Does anyone know of such a shortcut? I can't seem to dig anything up.

Thanks.

like image 696
Matt Avatar asked Aug 11 '13 21:08

Matt


People also ask

How do you tab multiple lines at once or code?

How do you change the indentation of multiple lines in VS Code? Select the lines you want to indent, and. use Ctrl + ] to indent them.

How do you indent at once?

Indent paragraph with shortcut key A complete paragraph can be indented with the keyboard shortcut Ctrl + M and pressing the keyboard shortcut more than once will indent the paragraph further. To reverse the indent, you can also press Ctrl + Shift + M .

How do you tab multiple lines to the left?

Shift highlighted lines to the right one tab length by pressing the tab key. Shift them to the left by pressing shift-tab. When lines are highlighted, the tab key doesn't replace them with a tab.

What keyboard key is used for indentation?

To indent the first line of a paragraph, put your cursor at the beginning of the paragraph and press the tab key. When you press Enter to start the next paragraph, its first line will be indented.


1 Answers

Just highlight the lines and push tab.

like image 196
Towler Avatar answered Oct 16 '22 06:10

Towler