java - Eclipse jump to end of scope/method with keyboard shortcut -
Is it possible that any method, loop, if statement, end of scope such as switch statement ... etc ... keyboard shortcuts with?
I know that this is possible with control shift p , but it only concludes the beginning of the crisp brace, And not above it. For example:
This is my code.
if (x <10) {System.out.println ("x is less than ten."); | // My Cursor '|' }
When I press control + shift + P
then my cursor jumps here:
If (x & Lt; 10) {System.out.println ("X is less than ten."); |} // My Cursor '|'
But I have to go here.
if (x <10) {System.out.println ("X is less than ten"); } | // My Cursor '|'
Is this possible?
Your keys are mapped, different from my keys, but preferences (normal -> key ) To see what orders are available for your edition of Eclipse and OS. I think that running the closest order for the item you are looking for is in line (where you have to point out in line with the curly bracket).
Comments
Post a Comment