Details
-
Bug
-
Resolution: Done
-
P4: Low
-
Qt Creator 3.1.0-rc1, Qt Creator 3.3.0
-
Ubuntu 12.04 LTS 64 bit
Ubuntu 14.04 LTS 64 bit
-
a2db85b11ee2767b903941f2691310184fc21a1e (qt-creator/qt-creator/master)
Description
- Go to "Tools" -> "Options..." -> "Text Editor" -> "Completion" and check "Add leading asterisks".
- Open a C++ file.
- Start a Qt-style comment:
/*! Once upon a midnight dreary
- Press Enter and go on typing in the next line:
/*! Once upon a midnight dreary * while I pondered weak and weary
You can easily see that the text is not indented correctly. The same is true for Java-style comments starting with "/**". Only C++ comment ("/*") work correctly.
When text is automatically indented, like it is here, it should be indented correctly.