summaryrefslogtreecommitdiffstats
path: root/Plugins/SqlEnterpriseFormatter/formatcreateview.cpp
diff options
context:
space:
mode:
authorLibravatarUnit 193 <unit193@ubuntu.com>2014-12-14 08:24:26 -0500
committerLibravatarUnit 193 <unit193@ubuntu.com>2014-12-14 08:24:26 -0500
commit89214766d8e3e7b8dd749a1fa18a5b9727f5010d (patch)
tree34ad5aa84ac9674ebb5b7a23b5a3377e8629ee33 /Plugins/SqlEnterpriseFormatter/formatcreateview.cpp
parent7167ce41b61d2ba2cdb526777a4233eb84a3b66a (diff)
Imported Upstream version 3.0.0upstream/3.0.0
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();
}