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).