Autocomplete "end)" adds unnecessary parentheses

The first opening parenthesis is automatically closed, but then autocompletion adds another closing parenthesis to “end” when the function starts as “(function()”, resulting in two closing parentheses.

29 Likes

Can confirm that this happens to me all the time.

5 Likes

Happens to me too. Its really annoying and should be fixed.

This has been bugging me for so long now. I honestly hope it gets fixed soon.

I’ve also been having this issue, there’s a setting I used to disable it but I can’t remember it off the top of my head. But yeah, hopefully this issue is fixed.

We are aware of this issue, and its reported internally. Will keep you updated!

3 Likes

To fix this, you can disable the setting ‘Auto Closing Brackets’:

image

But I really hope a permanent fix is in the works, because most of the time it works fine.