TIP: Shift text of selected lines or current line to left or right in NetBeans 6.0 editor
In any NetBeans 6.0 editor you can shift the text of selected lines or the current line to the left or right using the following key bindings:
Alt+Shift+Left (Ctrl+Shift+Left on Mac) - shift the text of selected lines or the current line to the left by one indent unit
Alt+Shift+Right (Ctrl+Shift+Right on Mac) - shift the text of selected lines or the current line to the right by one indent unit
The number of spaces used for shifting is controlled by the Tools:Options:Editor:Indetation:Number of Spaces per Indent: option.
Posted by sandipchitale
( Nov 11 2007, 10:33:15 PM PST ) Permalink
Trackback URL: http://blogs.sun.com/scblog/entry/tip_shift_text_of_selected
Or you could just use TAB and Shift+TAB :-)
Posted by Claudiu on November 12, 2007 at 03:12 AM PST #
There is a small difference. When using TAB, you still have to select a portion of the current line, in order to shift one line.
Posted by Claudiu on November 12, 2007 at 03:13 AM PST #
TAB + SHIFT :)
Posted by güzel sözler on April 02, 2008 at 07:46 PM PDT #