CLion keeps autocompleting parenthesis (at least).

Hi, I am trying out CLion, but I am finding the autocomplete of parenthesis and brackets hinders my workflow instead of improving it. For example, it doesn't seem to be preemptive enough to see the closing pair it added may not be needed anymore if one had written the closing pair directly, or remove whatever it added altogether when one uses the full expression autocomplete.

I don't know how to explain that last part better, I am referring to pressing tab to accept the full suggestion of a for() loop header after having typed the initial ‘(’, autocomplete would have added the closing match for that parenthesis, and after tab the for() header would have an extra ‘)’ at the end of it, even after the opening bracket for its body.

So I looked into disabling that functionally, at least until things work better, because I am editing things manually often; but I am still having the closing pair of a parenthesis being inserted automatically. For example, just now typing a while() loop.

Am I missing something? Is this a bug? I am using CLion 2024.2.2, and this is the relevant settings page where I disabled pair completion for several things, kept it for quotes since it seems not to interfere with me. I am not looking to disable inserting the matching bracket on enter, just the ones when I'm typing.

0

Please sign in to leave a comment.