Details
-
Bug
-
Resolution: Duplicate
-
Not Evaluated
-
None
-
Qt Creator 4.2.0-beta1
Description
I think this is a regression after fixing the brace/quote behavior QTCREATORBUG-14111 that annoyed many people.
I now have one case when this new behavior is worse than before:
#define PI 3.1415 float pi() { return PI; } float sum(float a, float b) { return a + b; } void test() { sum(2, |); }
- Cursor is at the position |
- Enter pi()); and you get the expected
sum(2, pi());
- Enter PI); and you get the wrong
sum(2, PI););
- The same happens if code is pasted from clipboard
Attachments
Issue Links
- duplicates
-
QTCREATORBUG-16946 [Regression] Automatic overwrite of closing parenthesis fails when nested
- Open