3

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.

John Smith
  • 3,863
  • 3
  • 24
  • 42

1 Answers1

4

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.

lena
  • 90,154
  • 11
  • 145
  • 150