| Summary: | Add ctr+w - Select successively increasing code blocks - from intellij idea | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | cifroes <cifroes> |
| Component: | Text | Assignee: | JDT-Text-Inbox <jdt-text-inbox> |
| Status: | RESOLVED WORKSFORME | QA Contact: | |
| Severity: | enhancement | ||
| Priority: | P3 | CC: | daniel_megert, markus.kell.r, remy.suen, thatnitind |
| Version: | 3.6 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
cifroes
Are you only suggesting to change the keybinding or is there more to it? If so, can you please explain in more detail how the functionality exactly differs (sorry we don't have IntelliJ at hand). It's not a keybinding issue, it's a new feature (that I believe eclipse doesn't have). It is a bit hard to explain but I will try :) Imagine you have this code: return new JavaScriptResolution(area.getLocationsList().subList(0, limit), Area.class, Point.class); Set your cursor to getLocat<cursor>ionsList and press ctr+w, "getLocationsList" is selected. Press again and selection is "getLocationsList()". Again = "area.getLocationsList()"; again = "area.getLocationsList().subList" again = "area.getLocationsList().subList(0, limit)" again = "area.getLocationsList().subList(0, limit), Area.class, Point.class" again = "new JavaScriptResolution(area.getLocationsList().subList(0, limit), Area.class, Point.class)" again = "return new JavaScriptResolution(area.getLocationsList().subList(0, limit), Area.class, Point.class);" again and it selects the if block this was in, then the method, etc... It's a very smart way to go "up the tree" very easily and quickly. I think it's easy to see the added value and time saved instead of doing "manual selections". It sounds very similar to one of the options in the "Expand Selection To" menu, off the main "Edit" menu. >It sounds very similar to one of the options in the "Expand Selection To" menu,
>off the main "Edit" menu.
I've read too fast over "Ctrl+Shift+NavKeys combo." and thought you refer to "Alt+Shift+NavKeys". Please try Alt+Shift+Up/Left/Right.
|