Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
KDevelop
KDevelop
Commits
5ed015b3
Commit
5ed015b3
authored
Jul 11, 2022
by
Igor Kushnir
Committed by
Milian Wolff
Jul 15, 2022
Browse files
.clang-format: restore KDevelop-specific formatting options
parent
5363ca50
Changes
1
Hide whitespace changes
Inline
Side-by-side
.clang-format
View file @
5ed015b3
...
...
@@ -4,7 +4,6 @@
#
# SPDX-License-Identifier: MIT
# This file got automatically created by ECM, do not edit
# See https://clang.llvm.org/docs/ClangFormatStyleOptions.html for the config options
# and https://community.kde.org/Policies/Frameworks_Coding_Style#Clang-format_automatic_code_formatting
# for clang-format tips & tricks
...
...
@@ -27,7 +26,8 @@ Standard: Cpp11
TabWidth: 4
# 2 * 80 wide lines
ColumnLimit: 160
#KDevelop overrides ColumnLimit: 160
ColumnLimit: 120
# sort includes inside line separated groups
SortIncludes: true
...
...
@@ -36,7 +36,8 @@ SortIncludes: true
BreakBeforeBraces: Linux
# CrlInstruction *a;
PointerAlignment: Right
#KDevelop overrides PointerAlignment: Right
PointerAlignment: Left
# horizontally aligns arguments after an open bracket.
AlignAfterOpenBracket: Align
...
...
@@ -45,7 +46,8 @@ AlignAfterOpenBracket: Align
AllowAllParametersOfDeclarationOnNextLine: false
# no single line functions
AllowShortFunctionsOnASingleLine: None
#KDevelop overrides AllowShortFunctionsOnASingleLine: None
AllowShortFunctionsOnASingleLine: Inline
# always break before you encounter multi line strings
AlwaysBreakBeforeMultilineStrings: true
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment