Details
-
Bug
-
Resolution: Fixed
-
P2: Important
-
6.7
-
None
-
90cbe74cd (dev), 0cf8d7d53 (6.7)
Description
Completion inside of for-loops inserts extra semicolons:
function f() { for (le<ask for completion here>;;) {} }
will insert an extra semicolon with the let-statement snippet:
function f() { for (let x = 42;;;) {} }
which breaks the for-loop. Also happens with const and let definitions.
Attachments
Issue Links
- is duplicated by
-
QTBUG-119840 qmlls: invalid completion inside of for-statements
- Closed
- is required for
-
QTBUG-113727 qmlls: improve Code completion using new QQmlLSUtils stuff
- Closed