Smart.Selection - Pro!
The Smart.Selection tool represents set of several selection enhancements actions those allow to simplify selection operations while editing Java files. The following actions are provided:
-
Selection of the whole code block, statement, method or class. These actions are available in the editor context popup menu as well as in the JBuilder menu bar. There are no default key bindings for these actions but you are able to easy assign them using the Key Map editor.
-
Expanding Selection Ctrl+W (CUA) and Narrowing Selection Ctrl+Shift+W (CUA). These actions are also available in editor context popup menu and in the JBuilder menu bar as well. They allow to expand/narrow current selection incrementally to outer/inner source element respectively. The approximate order of selections is as follows (the exact one depends on current structure of the Java code and current caret position):
- Word under cursor;
- Expression;
- Statement;
- Code block;
- Enclosing statements and code blocks;
- Method;
- Class;
- Whole file.
See also:
Productivity! Tools ,
Customizing Productivity!