Details
-
Bug
-
Resolution: Fixed
-
P3: Somewhat important
-
Qt Creator 4.15.2, Qt Creator 5.0.0
-
e158bfe6189ff186a09a95271ffcd6fbe042abea
Description
Enable FakeVim and start with this in a .cpp file:
struct Test { int func1; int func2; int var1; int var2; };
Correct behaviour
- Place the cursor at the end of "func1"
- Press 'i' '(' ')' to insert parentheses
- Press <Esc> to exit Insert mode
- Place the cursor at the end of "func2"
- Press '.' (dot command)
Result (correct): Parentheses are inserted at the end of "func2"
Wrong behaviour
- Place the cursor at the end of "var1"
- Press 'i' '=' '{' '}' to insert an empty initializer
- Press <Esc> to exit Insert mode
- Place the cursor at the end of "var2"
- Press '.' (dot command)
Result (wrong): Nothing happens
Expected result: An empty initializer should be inserted at the end of "var2"
Reproducible only without ClangFormat plugin
Attachments
For Gerrit Dashboard: QTCREATORBUG-26195 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
384508,6 | FakeVim: Improve handling of content changes | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |