user2107733
user2107733

Reputation:

How to indent part of code in rubymine and keyboard shortcuts

I am trying to indent part of my code in Rubymine editor.

Is there a way how to do this fast using keyboard shortcuts?

Update

Example

Let say I have a file with 200 lines. With keyboard shortcut and keyboard ( w/o mouse selection ) I want to select e.g. lines 10 to 20 and this lines indent with tab or outdent with shift-tab.

Upvotes: 1

Views: 3133

Answers (1)

Borodin
Borodin

Reputation: 126742

  • Navigate to the first line

  • Hold down shift

  • Navigate to the last line

  • Press Tab or shiftTab as appropriate

Upvotes: 2

Related Questions