forked from qt-creator/qt-creator
CppEditor: Add an enum to the code style preview for braces settings
So the user gets feedback for all the checkboxes by default. Fixes: QTCREATORBUG-27268 Change-Id: I3518a7693bf31ce6c48a12905b77713c591e1853 Reviewed-by: <github-actions-qt-creator@cristianadam.eu> Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org> Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
@@ -135,6 +135,12 @@ static const char *DEFAULT_CODE_STYLE_SNIPPETS[]
|
||||
"private:\n"
|
||||
" int _a;\n"
|
||||
" };\n"
|
||||
"enum class E\n"
|
||||
"{\n"
|
||||
" V1,\n"
|
||||
" V2,\n"
|
||||
" V3\n"
|
||||
"};\n"
|
||||
"}\n"
|
||||
"}\n",
|
||||
"#include \"bar.h\"\n"
|
||||
|
Reference in New Issue
Block a user