CppTools::Internal::CppCodeStyleSettingsPage
0
0
757
465
Form
-
0
-
-
Qt::Horizontal
40
20
-
4
General
-
Qt::TabFocus
-
Content
-
Indent
true
0
0
0
-
"public", "protected" and
"private" within class body
-
Declarations relative to "public",
"protected" and "private"
-
Statements within method body
-
Statements within blocks
-
Declarations within
"namespace" definition
-
Qt::Vertical
17
114
-
Braces
-
Indent Braces
true
0
0
0
-
Class declarations
-
Namespace declarations
-
Enum declarations
-
Method declarations
-
Blocks
-
Qt::Vertical
20
195
-
"switch"
-
Indent within "switch"
true
0
0
0
-
"case" or "default"
-
Statements relative to
"case" or "default"
-
Blocks relative to
"case" or "default"
-
"break" statement relative to
"case" or "default"
-
Qt::Vertical
20
143
-
Alignment
-
Align
true
0
0
0
-
<html><head/><body>
Enables alignment to tokens after =, += etc. When the option is disabled, regular continuation line indentation will be used.<br>
<br>
With alignment:
<pre>
a = a +
b
</pre>
Without alignment:
<pre>
a = a +
b
</pre>
</body></html>
Align after assignments
-
<html><head/><body>
The extra padding usually only affects if statement conditions. Without extra padding:
<pre>
if (a &&
b)
c;
</pre>
With extra padding:
<pre>
if (a &&
b)
c;
</pre>
</body></html>
Add extra padding to conditions
if they would align to the next line
-
Qt::Vertical
20
40
-
TextEditor::SnippetEditorWidget
QPlainTextEdit
texteditor/snippets/snippeteditor.h
TextEditor::TabPreferencesWidget
QWidget
texteditor/tabpreferenceswidget.h
1
TextEditor::FallbackSelectorWidget
QWidget
texteditor/fallbackselectorwidget.h
1