Browse Subversion Repository
Annotation of /trunk/.clang-format
Parent Directory
| Revision Log
Revision 8445 -
( hide annotations)
( download)
Tue Dec 17 12:15:31 2019 UTC
(4 years, 3 months ago)
by doda
File size: 879 byte(s)
Merge branch 'unicode_buf'
| 1 |
doda |
8445 |
# clang format setting for Tera Term |
| 2 |
|
|
# |
| 3 |
|
|
# - この設定に従わなくてもokです |
| 4 |
|
|
# - どのようなインデントにするかの参考に使用してください |
| 5 |
|
|
# - diffが取れなくなるので従来からあるファイルに一気に適応しないでください |
| 6 |
|
|
# (実験段階です) |
| 7 |
|
|
# - Visual Studio 2017からclang-formatをIDEから利用できます |
| 8 |
|
|
# - 次の方法でclang-formatの使用を変更できます |
| 9 |
|
|
# - [ツール]/[オプション] → |
| 10 |
|
|
# [テキスト エディタ―]/[C/C++]/[書式設定]/[clang-formatサポート] |
| 11 |
|
|
# |
| 12 |
|
|
BasedOnStyle: Google |
| 13 |
|
|
ColumnLimit: 120 |
| 14 |
|
|
UseTab: Always |
| 15 |
|
|
IndentWidth: 4 |
| 16 |
|
|
TabWidth: 4 |
| 17 |
|
|
AllowShortIfStatementsOnASingleLine: false |
| 18 |
|
|
AllowShortFunctionsOnASingleLine: None |
| 19 |
|
|
BreakBeforeBraces: Custom |
| 20 |
|
|
BraceWrapping: |
| 21 |
|
|
AfterFunction: 'true' |
| 22 |
|
|
BeforeElse: 'true' |
| 23 |
|
|
AfterClass: 'true' |
| 24 |
|
|
SortIncludes: false |
| 25 |
|
|
AccessModifierOffset: -4 |
|