Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 4.6.0
-
ddf7f5f232d70c8598654fdad08af3064f95903f (qt-creator/qt-creator/master)
Description
When editing a C++ raw string literal, e.g. (with `|` denoting the cursor position)
const char* fmt = R"EOF( This is a raw string literal.|
Pressing enter here gives extra indentation such that the cursor now lies here:
const char* fmt = R"EOF( This is a raw string literal. |
It would be helpful if Qt Creator preserved the indent of the last line seen in the raw string literal, rather than attempting to perform 'smart' indentation (as though this were a continued expression or similar).
Attachments
For Gerrit Dashboard: QTCREATORBUG-20180 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
310343,3 | CppTools: Do not indent within string literals | master | qt-creator/qt-creator | Status: MERGED | +2 | 0 |