Sublime Forum

Strange parenthesis behaviour

#1

Open a new file and copy/paste this line :

(something(here)
  • Now put your cursor at the end of the word ‘here’, just before the closing parenthesis.
  • Try to enter a new closing parenthesis.

You just can’t because Sublime overwrites the next parenthesis: bug ?

0 Likes

#2

I think it’s by design.

To enter another closing parenthesis, move past the last parenthesis and add a new one.

Or you can press ‘)’ twice.

0 Likes

#3

Yeah that’s working as intended: You can set autoMatchEnabled to false in Default File Type.sublime-options if you’d rather it not do that.

0 Likes

#4

Thanks jps,
I’ve missed autoMatchEnabled.

0 Likes