[ttssh2-commit] [9652] .gitignore, .clang-format, .editorconfig を追加

Back to archive index
scmno****@osdn***** scmno****@osdn*****
2021年 12月 30日 (木) 00:58:29 JST


Revision: 9652
          https://osdn.net/projects/ttssh2/scm/svn/commits/9652
Author:   zmatsuo
Date:     2021-12-30 00:58:28 +0900 (Thu, 30 Dec 2021)
Log Message:
-----------
.gitignore, .clang-format, .editorconfig を追加

Added Paths:
-----------
    branches/4-stable/.clang-format
    branches/4-stable/.editorconfig
    branches/4-stable/doc_internal/
    branches/4-stable/doc_internal/.gitignore
    branches/4-stable/installer/.gitignore

-------------- next part --------------
Added: branches/4-stable/.clang-format
===================================================================
--- branches/4-stable/.clang-format	                        (rev 0)
+++ branches/4-stable/.clang-format	2021-12-29 15:58:28 UTC (rev 9652)
@@ -0,0 +1,25 @@
+# clang format setting for Tera Term
+#
+# - この設定に従わなくてもokです
+# - どのようなインデントにするかの参考に使用してください
+# - diffが取れなくなるので従来からあるファイルに一気に適応しないでください
+#   (実験段階です)
+# - Visual Studio 2017からclang-formatをIDEから利用できます
+#   - 次の方法でclang-formatの使用を変更できます
+#   - [ツール]/[オプション] →
+#     [テキスト エディタ―]/[C/C++]/[書式設定]/[clang-formatサポート]
+#
+BasedOnStyle: Google
+ColumnLimit: 120
+UseTab: Always
+IndentWidth: 4
+TabWidth: 4
+AllowShortIfStatementsOnASingleLine: false
+AllowShortFunctionsOnASingleLine: None
+BreakBeforeBraces: Custom
+BraceWrapping:
+	AfterFunction: 'true'
+	BeforeElse: 'true'
+	AfterClass: 'true'
+SortIncludes: false
+AccessModifierOffset: -4

Added: branches/4-stable/.editorconfig
===================================================================
--- branches/4-stable/.editorconfig	                        (rev 0)
+++ branches/4-stable/.editorconfig	2021-12-29 15:58:28 UTC (rev 9652)
@@ -0,0 +1,52 @@
+root = true
+
+[*]
+indent_style = tab
+indent_size = 4
+
+[*.{cpp,c,h}]
+indent_style = tab
+indent_size = 4
+end_of_line = crlf
+charset = cp932
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[*.html]
+end_of_line = crlf
+charset = cp932
+indent_style = space
+indent_size = 2
+
+[*.md]
+end_of_line = crlf
+charset = utf-8-bom
+indent_style = space
+
+[*.pl]
+end_of_line = crlf
+charset = utf-8-bom
+indent_style = tab
+indent_size = 4
+
+[*.txt]
+end_of_line = crlf
+charset = cp932
+indent_style = tab
+indent_size = 4
+
+[*.asm]
+end_of_line = crlf
+charset = utf8
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+insert_final_newline = true
+
+[{CMakeLists.txt,*.cmake}]
+end_of_line = crlf
+charset = utf-8-bom
+indent_style = space
+indent_size = 2
+trim_trailing_whitespace = true
+insert_final_newline = true

Added: branches/4-stable/doc_internal/.gitignore
===================================================================
--- branches/4-stable/doc_internal/.gitignore	                        (rev 0)
+++ branches/4-stable/doc_internal/.gitignore	2021-12-29 15:58:28 UTC (rev 9652)
@@ -0,0 +1,2 @@
+global/
+doxygen/

Added: branches/4-stable/installer/.gitignore
===================================================================
--- branches/4-stable/installer/.gitignore	                        (rev 0)
+++ branches/4-stable/installer/.gitignore	2021-12-29 15:58:28 UTC (rev 9652)
@@ -0,0 +1 @@
+snapshot-*/
\ No newline at end of file


ttssh2-commit メーリングリストの案内
Back to archive index