netbeans icon indicating copy to clipboard operation
netbeans copied to clipboard

Auto-close of brackets not working in C++

Open iahung3 opened this issue 11 months ago • 2 comments

Apache NetBeans version

Apache NetBeans 21

What happened

Brackets are not auto-closed.

Language / Project Type / NetBeans Component

C++

How to reproduce

For example, type { or (. It will do nothing.

Did this work correctly in an earlier version?

No / Don't know

Operating System

Windows

JDK

21 LTS

Apache NetBeans packaging

Apache NetBeans provided installer

Anything else

No

Are you willing to submit a pull request?

No

iahung3 avatar Mar 04 '24 13:03 iahung3

It's working for me. Do you have "Insert Closing Brackets Automatically" checked under Tools -> Options -> Editor -> Code Completion for All Languages?

bitrunner avatar Mar 08 '24 03:03 bitrunner

Do you have "Insert Closing Brackets Automatically" checked under Tools -> Options -> Editor -> Code Completion for All Languages?

Yes.

ghost avatar Mar 08 '24 07:03 ghost