[Qt-creator] Change keys for indent/unindent lines
Christian Kamm
christian.d.kamm at nokia.com
Wed Mar 16 18:01:57 CET 2011
On Wednesday 16 March 2011 15:35:46 ext Stephen Chu wrote:
> I stumbled into tab/shift-tab with selection to indent/unindent lines of
> text. They add/remove leading tabs to selected lines. I had this
> function in other IDEs I used and find it extremely useful.
>
> One issue I have is the use of tab key for this. Sometimes I will select
> some text and hit tab to replace the text with a tab. Instead of doing
> that, the editor adds a tab to the beginning of the line, leaving my
> selection intact.
>
> Is there a way to change the keys for this function? I checked the
> Environment preferences and either it's not there or it's named so I
> don't recognize it.
There's a setting for the behavior of the tab key in Options/Editor/Behavior,
you can disable it or make it indent in leading whitespace only.
Cheers,
Christian
More information about the Qt-creator-old
mailing list