Autocomplete Quotes - Get out from within Quotes and Move the Cursor after the Closing Cursor

Viewed 5793

I like that it autocompletes single and double quotes, but how do I "get out" from within the quotes and move the cursor to the right side of the closing quote?

Example, I start typing:

string = 'Hello World'

After I'm done with the letter d, my cursor is stuck there.

So is there a fancy way of hitting Space so that I can move the cursor to the right side out of the closing quote?

7 Answers

Press Tab.

You can now just press Tab to move outside the quote mark.

It should work by default, but if not you can enable the option in Preferences->Editor->General->SmartKeys and enable "Jump outside closing bracket/quote with Tab when typing"

Related