summaryrefslogtreecommitdiffstats
path: root/Plugins/SqlEnterpriseFormatter/formatcreateview.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Plugins/SqlEnterpriseFormatter/formatcreateview.cpp')
-rw-r--r--Plugins/SqlEnterpriseFormatter/formatcreateview.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Plugins/SqlEnterpriseFormatter/formatcreateview.cpp b/Plugins/SqlEnterpriseFormatter/formatcreateview.cpp
index faec87a..4fe1c27 100644
--- a/Plugins/SqlEnterpriseFormatter/formatcreateview.cpp
+++ b/Plugins/SqlEnterpriseFormatter/formatcreateview.cpp
@@ -22,5 +22,5 @@ void FormatCreateView::formatInternal()
if (dialect == Dialect::Sqlite3 && !createView->database.isNull())
withId(createView->database).withIdDot();
- withId(createView->view).withKeyword("AS").withStatement(createView->select).withSemicolon();
+ withId(createView->view).withKeyword("AS").withNewLine().withIncrIndent().withStatement(createView->select).withSemicolon().withDecrIndent();
}