Extra left parenthesis inserted when typing control statements

Answered

Since updating to 2026.2 (including .2.1), the following happens:

  • Type if
  • Wait for the autocomplete popup
  • Type (

Instead of if() you'll end up with if(().

This worked correctly in previous versions. Is there some setting that has changed? Disabling “Insert selected suggestion by pressing space, dot, or other context-dependent keys” fixes it, but I want that setting enabled.

1
4 comments

Monoxide Thank you for reporting this. I hit the same thing on 2026.2.1 (IU-262.9437.185) and filed IDEA-392662. Star the issue if you want the notification when a fix lands.

2

Thanks, I starred it

0

Has it been resolved? I ran into the same problem too.

0

Hi 1219231631 , we've acknowledged this issue and reproduced it. It's not fixed yet. Currently, the dev team is working on the fix. The implementation status will depend on the roadmap of the IDE release schedule, please follow https://youtrack.jetbrains.com/issue/IDEA-392662 to understand the status of the issue, thank you.

0

Please sign in to leave a comment.