Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 3.1.1, Qt Creator 3.2.0-beta1
-
Ubuntu 12.04, 32bit, Qt Creator 3.1 built with Qt5.2.1
Description
Steps to reproduce:
- create Plain C++ project
- add a simple if/if-else/do-while/while block e.g.
int dummy = 0; if (dummy < 10) ++dummy;
- mark the first keyword (if, do, while)
- right click on it and invoke 'Refactor' -> 'Extract Function', give it a name and hit 'OK'
- check the last line of the function
Current result:
- last line has 4 additional whitespaces
Expected result:
- no additional whitespaces if they where not inside the original code