Extra parenthesis showing up in intellij for Scala code
I recently upgraded IntelliJ Community Edition to the new version (2020.3.2), and have been noticing a strange problem: for certain code blocks in parenthesis, an extra parenthesis block appear when I press any key after the previous block. This happens for example for method definitions blocks and "if" blocks. I have not checked if this is happening in other languages, and I know for sure this was not happening in the previous version that I was using: (2020.1.2). The following link has a short video that explains the problem:
https://drive.google.com/file/d/1ajS3FmEH-tkZJcu7Btbl09fkWZz3ciOS/view?usp=sharing
Please let me know if there is an option in settings somewhere that might be misbehaving. I have customized some code styles long back and have been using those in this version as well, but I reverted to "Default" code style and still faced the same problem. Thanks!
Please sign in to leave a comment.
Seems to be a bug. Please report to https://youtrack.jetbrains.com/newIssue?project=SCL
Added: https://youtrack.jetbrains.com/issue/SCL-18676
Samikr Thank you so much.