Sunday Nov 11, 2007

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.

 

About

sandipchitale

Search

Archives
« April 2014
SunMonTueWedThuFriSat
  
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
   
       
Today