Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Un-indentation in Netbeans

Tags:

ide

netbeans

In netbeans, if I select some text and press Tab, it works correctly and the text is indented to the right side as expected.

But if I then try to backspace behind the text, it only removes one space at a time. Very annoying.

Is there any way to change this setting, so backspacing behind a tabbed line causes the whole tab to be removed and not just 1 space?

like image 356
Ali Avatar asked Apr 10 '09 15:04

Ali


2 Answers

I don't use Netbeans (anymore), but usually the shortcut for this is Shift+Tab.

like image 50
Aistina Avatar answered Sep 17 '22 13:09

Aistina


Its worth mentioning that ALT+SHIFT+UP/DOWN/LEFT/RIGHT will indent left or right and also allow you to move the line(s) up or down. Its a pretty handy feature.

like image 40
toc777 Avatar answered Sep 21 '22 13:09

toc777