Przeglądaj źródła

added editor config

Scrublord1336 6 lat temu
rodzic
commit
e4e37c3da8
2 zmienionych plików z 20 dodań i 0 usunięć
  1. 15 0
      .editorconfig
  2. 5 0
      XUnity.AutoTranslator.sln

+ 15 - 0
.editorconfig

@@ -0,0 +1,15 @@
+root = true
+
+[*]
+charset                  = utf-8-bom
+insert_final_newline     = true
+trim_trailing_whitespace = true
+
+# CSharp code style settings:
+[*.cs]
+indent_size                                                        = 3
+csharp_space_between_method_call_parameter_list_parentheses        = true
+csharp_space_between_method_declaration_parameter_list_parentheses = true
+csharp_space_between_square_brackets                               = true
+csharp_space_after_keywords_in_control_flow_statements             = false
+csharp_space_between_parentheses                                   = control_flow_statements, expressions

+ 5 - 0
XUnity.AutoTranslator.sln

@@ -19,6 +19,11 @@ Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "XUnity.AutoTranslator.Setup
 		{0A2A6B66-91D4-4A4E-AC77-80C6DD748FCD} = {0A2A6B66-91D4-4A4E-AC77-80C6DD748FCD}
 	EndProjectSection
 EndProject
+Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "Solution Items", "Solution Items", "{ACADAE2C-1642-428A-84D4-CC53E24F1348}"
+	ProjectSection(SolutionItems) = preProject
+		.editorconfig = .editorconfig
+	EndProjectSection
+EndProject
 Global
 	GlobalSection(SolutionConfigurationPlatforms) = preSolution
 		Debug|Any CPU = Debug|Any CPU