Switching from NB to PhpStorm - (un)ident at caret

Hi,

Anyone knows if it can be achived to create identations not selecting text, but for line with caret?

NetBeans had this option, and it gives nice flexibility when moving lines, and It's frustrating to have to select something just for indentation:)

3 comments
Comment actions Permalink

Hi there,

Settings | Keymap

Other | Indent Line or Selection (use search box for that: just type "indent")

Assign any shortcut you want (e.g. you may remove shortcut from default Indent action and reassign it to this one if desired)

0
Comment actions Permalink

You can assign the preferred shortcut to  "Indent line or selection" action (settings/keymap/Other) - it should do the thing

0
Comment actions Permalink

Ok, close enough, unindent was actually working, so with this I can move lines as I wanted... thanks:)

0

Please sign in to leave a comment.