aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-09-04 10:48:14 +0300
committerEvgeny Grin (Karlson2k) <k2k@narod.ru>2023-09-04 16:50:05 +0300
commit2ba3d8da0b8f72c1bf1e7bfffa349f0918c3dc3d (patch)
treec8994e4b29ef700219f42bce6ad3af83550e1f09
parent602ad55136a60d6f7b5d5cf101e38b8ede13b31e (diff)
downloadlibmicrohttpd-2ba3d8da0b8f72c1bf1e7bfffa349f0918c3dc3d.tar.gz
libmicrohttpd-2ba3d8da0b8f72c1bf1e7bfffa349f0918c3dc3d.zip
W32 projects: added .editorconfig
-rw-r--r--w32/.editorconfig87
1 files changed, 87 insertions, 0 deletions
diff --git a/w32/.editorconfig b/w32/.editorconfig
new file mode 100644
index 00000000..589b91d9
--- /dev/null
+++ b/w32/.editorconfig
@@ -0,0 +1,87 @@
1# Do not check parent dirs for .editorconfig
2root = true
3
4[Makefile{,.in,.am}]
5indent_style = tab
6charset = latin1
7insert_final_newline = true
8
9[*.{c,h}]
10indent_style = space
11charset = utf-8
12insert_final_newline = true
13indent_size = 2
14tab_width = 4
15trim_trailing_whitespace = true
16max_line_length = 80
17
18# Visual C++ Code Style settings
19
20cpp_generate_documentation_comments = doxygen_slash_star
21
22# Visual C++ Formatting settings
23
24cpp_indent_braces = false
25cpp_indent_multi_line_relative_to = innermost_parenthesis
26cpp_indent_within_parentheses = align_to_parenthesis
27cpp_indent_preserve_within_parentheses = true
28cpp_indent_case_contents = true
29cpp_indent_case_labels = false
30cpp_indent_case_contents_when_block = true
31cpp_indent_lambda_braces_when_parameter = true
32cpp_indent_goto_labels = leftmost_column
33cpp_indent_preprocessor = leftmost_column
34cpp_indent_access_specifiers = false
35cpp_indent_namespace_contents = false
36cpp_indent_preserve_comments = true
37cpp_new_line_before_open_brace_namespace = new_line
38cpp_new_line_before_open_brace_type = new_line
39cpp_new_line_before_open_brace_function = new_line
40cpp_new_line_before_open_brace_block = new_line
41cpp_new_line_before_open_brace_lambda = ignore
42cpp_new_line_scope_braces_on_separate_lines = true
43cpp_new_line_close_brace_same_line_empty_type = false
44cpp_new_line_close_brace_same_line_empty_function = false
45cpp_new_line_before_catch = false
46cpp_new_line_before_else = true
47cpp_new_line_before_while_in_do_while = false
48cpp_space_before_function_open_parenthesis = insert
49cpp_space_within_parameter_list_parentheses = false
50cpp_space_between_empty_parameter_list_parentheses = false
51cpp_space_after_keywords_in_control_flow_statements = true
52cpp_space_within_control_flow_statement_parentheses = false
53cpp_space_before_lambda_open_parenthesis = false
54cpp_space_within_cast_parentheses = false
55cpp_space_after_cast_close_parenthesis = true
56cpp_space_within_expression_parentheses = false
57cpp_space_before_block_open_brace = false
58cpp_space_between_empty_braces = false
59cpp_space_before_initializer_list_open_brace = true
60cpp_space_within_initializer_list_braces = false
61cpp_space_preserve_in_initializer_list = true
62cpp_space_before_open_square_bracket = false
63cpp_space_within_square_brackets = false
64cpp_space_before_empty_square_brackets = false
65cpp_space_between_empty_square_brackets = false
66cpp_space_group_square_brackets = true
67cpp_space_within_lambda_brackets = false
68cpp_space_between_empty_lambda_brackets = false
69cpp_space_before_comma = false
70cpp_space_after_comma = true
71cpp_space_remove_around_member_operators = true
72cpp_space_before_inheritance_colon = true
73cpp_space_before_constructor_colon = true
74cpp_space_remove_before_semicolon = true
75cpp_space_after_semicolon = true
76cpp_space_remove_around_unary_operator = false
77cpp_space_around_binary_operator = insert
78cpp_space_around_assignment_operator = insert
79cpp_space_pointer_reference_alignment = right
80cpp_space_around_ternary_operator = insert
81cpp_use_unreal_engine_macro_formatting = false
82cpp_wrap_preserve_blocks = never
83
84# Visual C++ Inlcude Cleanup settings
85
86cpp_include_cleanup_add_missing_error_tag_type = suggestion
87cpp_include_cleanup_remove_unused_error_tag_type = dimmed