Extra left parenthesis inserted when typing control statements

已回答

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.

0

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.

1

Thanks, I starred it

0

请先登录再写评论。