Details
-
Suggestion
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 2.5.0-beta
-
None
-
f04be782ab6350563ac3ed87e8ef6028a0140042
Description
The original indentation is removed and replaced by the code style that is configured.
Code like
connect(
this,
SIGNAL(...),
that,
SLOT(...)
);
is reformatted to
connect(
this,
SIGNAL(...),
that,
SLOT(...)
);
which is not desired.
Of course code that is indented a few times needs to be relocated after extraction. But everything below the first line should be kept relative to it.
Attachments
For Gerrit Dashboard: QTCREATORBUG-6797 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
12943,1 | C++: Preserve original indentation in extract function | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |