tags:

views:

55

answers:

3

In the Eclipse IDE (and many others I would imagine) there is a simple shortcut to shift highlighted lines either right or left by one tab length.

I have looked through all of the TextFX in Notepad++ and only found the ability to shift highlighted lines up or down. Is there a built in way to shift highlighted lines left or right?

Thanks for reading

+2  A: 

Tab indents, shift-tab unindents.

sunetos
A: 

I'm not entirely sure what you mean.

Do you just mean that you want to select a region of your code in Notepad++ and intend or unindent it all by a certain number of tabs?

If so, it's really easy. Just select the lines you want to indent and hit . All of the lines will indent by 1 tab. I believe + will do the opposite.

Andrew Shelansky
+2  A: 

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. It shifts them left/right instead.

mkClark
Thank you, I feel rather foolish for not trying that myself. I figured that highliting and hitting tab would replace them with a tab as you said.
SC Ghost