Details
-
Bug
-
Resolution: Done
-
P3: Somewhat important
-
Qt Creator 3.1.1
-
None
-
Linux 32b, Qt 5.3.0, QtCreator 3.1.1
Description
When using Allman indent style autoindent breaks by decreasing indent width by one on every lines following opening bracket.
Got:
import QtQuick 2.2
ListView
{
model: ListModel
{
| <- cursor position, incorrect indent
} <- incorrect indent
[...]
Expected:
import QtQuick 2.2
ListView
{
model: ListModel
{
| <- cursor position
}
[...]
Attachments
For Gerrit Dashboard: QTCREATORBUG-12326 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
175369,3 | QmlJS: Fix auto-indent after an opening brace placed on a new line | 4.2 | qt-creator/qt-creator | Status: MERGED | +2 | 0 |