aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/plugins.pro
diff options
context:
space:
mode:
authorIvan Donchevskii <ivan.donchevskii@qt.io>2018-08-29 15:58:13 +0200
committerIvan Donchevskii <ivan.donchevskii@qt.io>2018-09-12 07:59:30 +0000
commitca84a51f867988cc4a6b3f4058ab6dc9f9badf84 (patch)
treeeaa86c03279048c99281be9046435c5df9d40c4b /src/plugins/plugins.pro
parentb95b675e41e6d7bba54733119f5f2e55c7d39133 (diff)
Clang: Use clang-format for indentation
This is the new experimental plugin based on LibFormat. It replaces the default indenter for CppEditorDocument and applies clang-format after the CR or the set of 'electric' characters. Uses the global .clang-format kept in QtC settings or the one for current project. Both can be configured. For indentation some style modifications and code manipulations are done to prevent line shrinking when it's not expected. Manual indentation uses unmodified style from .clang-format file. Change-Id: I6279b805e418e1804b553efa615f5c843f395a58 Reviewed-by: Marco Bubke <marco.bubke@qt.io>
Diffstat (limited to 'src/plugins/plugins.pro')
-rw-r--r--src/plugins/plugins.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/plugins.pro b/src/plugins/plugins.pro
index 1f1cf99648..f96a497833 100644
--- a/src/plugins/plugins.pro
+++ b/src/plugins/plugins.pro
@@ -4,6 +4,7 @@ TEMPLATE = subdirs
SUBDIRS = \
autotest \
+ clangformat \
clangtools \
coreplugin \
texteditor \