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.
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.
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 .
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.
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.
Just highlight the lines and push tab.
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