sandip chitale's blog    Sandip Chitale's blog (scblog)
NOTE: I have moved many of my modules to NetBeans Plugin Portal . Please check there for latest versions of modules described on this blog.
20071017 Wednesday October 17, 2007

TIP: Structural selection in Netbeans 6.0 Java editor

In this entry I had talked about the Structural selection in Netbeans Java editor. The keybindings for the same functionality have changed in NetBeans 6.0. The new keybindings are:

  • Alt+Shift+. - successively selects outer syntactic element. Statement -> Surrounding Block Statements -> Surrounding Block Statements -> Surrounding Method -> Surrounding Class and so on. I use this for quick selection.
  • Alt+Shift+, - successively selects inner syntactic element. This works only if you had expanded the selection using the Alt+Shift+. . This helps me fine tune the selection if I went too far.


 


Posted by sandipchitale ( Oct 17 2007, 10:33:48 PM PDT ) Permalink Comments [4]


Trackback URL: http://blogs.sun.com/scblog/entry/tip_structural_selection_in_netbeans1
Comments:

Doesn't work on a Danish keyboard, only Alt+Shift+. anyway.

Posted by Casper on October 25, 2007 at 06:35 PM PDT #

I see. I will convey this info to the developer.

You can change the key binding by going to Tools:Options:Keymap:Other:Select Next Element and Select Previous Element.

Posted by Sandip on October 25, 2007 at 07:09 PM PDT #

Doesn't matter which key I bind to, "Select previous element" does nothing on NB6b1 with Danish keyboard.

Posted by Casper on October 26, 2007 at 05:37 AM PDT #

Doesn't work on a Danish keyboard, only Alt+Shift+.

Posted by güzel sözler on April 02, 2008 at 07:49 PM PDT #

Post a Comment:

Name:
E-Mail:
URL:

Your Comment:

HTML Syntax: NOT allowed








« December 2009
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
31
  
       
Today

Get NetBeans 5.5

Locations of visitors to this page

Today's Page Hits: 341


XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

XML
All
/Creator
/General
/Hobby
/Java
/JavaScript
/Mozilla
/NetBeans
/Ubuntu
/VisualWeb
/VisualWebPack
/Web 2.0

scblog
scblog