My TeXstudio (v2.12.4) is very helpful in adding a matching close parenthesis after I type an open parenthesis.

When I type foo bar ( I get:


with the close paren added and the cursor inside the parens.

This is very nice, but it doesn't save me much typing as, to escape the parentheses, I have to type the close paren anyway.

What is the easiest thing I can type which will complete the contents of the parentheses and leave the cursor after the close parenthesis?

parens completed

  • You can also type right arrow to escape. Not sure if it is easier, the key is abit further away, but does not need any modifier ... matter of taste and/or keyboard layout Commented Jun 27, 2017 at 16:23
  • @samcarter hmm... arrows are a bit evil in my personal typing workflow. But perhaps there's no other mechanism...
    – LondonRob
    Commented Jun 27, 2017 at 16:36
  • I think the main benefit of this feature is that you are less likely to forget a closing paren. Especially useful in regards of [] and {}.
    – Mace
    Commented Jul 29, 2017 at 14:41
  • If there is nothing after closed parenthesis, you can press end key to go to end of line. Or you can disable that feature.
    – Sigur
    Commented Aug 28, 2017 at 16:13
  • @LondonRob Can I ask what key you would like to press for TeXstudio to recognize that you have finished typing within the parenthesis, if not the arrow keys or the close bracket?
    – Troy
    Commented Nov 27, 2017 at 3:59

1 Answer 1


is another way to leave the parenthesis.

Whether this is easier then retyping ) is a matter of personal taste and/or keyboard layout.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .