DrZoo
DrZoo

Reputation: 1697

How to escape auto-completed brackets in Eclipse?

How can I jump out of a set of auto-completed brackets in Eclipse?

For instance if I open a set of parenthesis I can jump out of that set by hitting the tab key.

For example: if (x <= y)|

Whenever I make new brackets for a class, if-else, etc, it becomes annoying always having to hit the arrow key to get out of the brackets.

For example: if (x <= y) { *code* }

Thanks.

Upvotes: 2

Views: 791

Answers (1)

Philip Becker
Philip Becker

Reputation: 59

Not with one command afaik, but you can use Ctrl + Shift + P to jump to the closing bracket } and then use Shift + Enter to jump to a new line inserted after the closing bracket.

Upvotes: 1

Related Questions