History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEABKL-5122
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Unassigned
Reporter: evan@mindreef.com
Votes: 0
Watchers: 0
Available Workflow Actions

Mark as Stalled
Operations

If you were logged in you would be able to see more operations.
IDEA: Backlog

Ctrl-W should select adjacent setter/getter pair

Created: 27 Apr 07 19:24   Updated: 10 May 07 17:23
Component/s: Editor. Editing Text
Affects Version/s: None
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: winxp

Build: 6,913
Severity: Low


 Description  « Hide
Using ctrl-w we now can select progressively wider blocks of code. A great addtion to this would be to check for a matching setter/getter pair when selection a wider block from a method. If we have this block selected:

public void setMyInt(int myint) {
this.myInt = myint;
}

and this block is adjacent in the code:

public void getMyInt() {
return myInt;
}

then when we hit ctrl-w it should widen the selection to select both of these blocks, but not the entire class. Very often using alt-insert or "create getter method" intention, the setter/getter pair is put in the wrong spot in the file and I would like to easily select it and move it (say with ctrl-shift-up/down). This would make that easier!



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.