Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

JetBrains IDEs - shortcut to jump out of brackets / jump to the end of an expression [duplicate]

Consider this code, where | is the cursor

expect("Som|eString")

I'd like to know if there's a keyboard shortcut to jump to here:

expect("SomeString")|

Preferably with a dot added, like this:

expect("SomeString").|

In other words, I feel like a shortcut to jump to the end of an experssion/statement to continue typing it (for example after finishing typing one function's arguments in a function chain) would be very useful, and surely there is one, even if I'm having troubles finding it in the settings.

like image 802
John Smith Avatar asked Nov 06 '25 03:11

John Smith


1 Answers

With Jump outside closing bracket/quote with Tab when typing enabled in Settings | Editor | General | Smart Keys, hitting Tab within brackets moves the caret outside the closing bracket.

Note that this only works on initial typing: during subsequent editing, pressing Tab inside braces will insert the Tab character.

like image 134
lena Avatar answered Nov 09 '25 08:11

lena



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!