Details
-
Bug
-
Resolution: Done
-
Not Evaluated
-
Qt Creator 3.5.1, Qt Creator 3.6.0-rc1
-
Windows 7 64 bit
Description
- Open a QML file.
- In the file, type a misspelled item name, e.g. "Rextangle".
This will be underlined because it is a syntax error. - Move the cursor back to the wrong character and fix it, e.g. change the "x" to "c".
Creator will show a code completion popup offering the correct item name, e.g. "Rectangle". - Press Enter.
Creator will insert the item name regardless of what's already written, e.g. you will get something like "Rectangletangle".
After inserting, the item name should be correct. In C++ files, this works correctly.
Attachments
For Gerrit Dashboard: QTCREATORBUG-15379 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
141775,4 | QmlJsEditor: unify behavior of autocompletion to C++ editor. | 3.6 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |