Skip to content

Commit f50c701

Browse files
committed
copy shit from ppr and per demo
0 parents  commit f50c701

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

43 files changed

+2568
-0
lines changed

.editorconfig

+250
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,250 @@
1+
root=true
2+
3+
[*]
4+
charset=utf-8
5+
end_of_line=crlf
6+
trim_trailing_whitespace=true
7+
insert_final_newline=true
8+
indent_style=space
9+
indent_size=4
10+
tab_width=4
11+
12+
# Microsoft .NET properties
13+
csharp_new_line_before_members_in_object_initializers=false
14+
csharp_new_line_before_open_brace=none
15+
csharp_new_line_between_query_expression_clauses=false
16+
csharp_preferred_modifier_order=public, protected, internal, private, new, abstract, virtual, override, sealed, static, readonly, extern, unsafe, volatile, async:warning
17+
csharp_space_after_cast=false
18+
csharp_space_after_keywords_in_control_flow_statements=false
19+
csharp_style_namespace_declarations=file_scoped:warning
20+
csharp_style_var_elsewhere=false:warning
21+
csharp_style_var_for_built_in_types=false:warning
22+
csharp_style_var_when_type_is_apparent=false:warning
23+
dotnet_naming_rule.constants_rule.import_to_resharper=as_predefined
24+
dotnet_naming_rule.constants_rule.severity=warning
25+
dotnet_naming_rule.constants_rule.style=upper_camel_case_style
26+
dotnet_naming_rule.constants_rule.symbols=constants_symbols
27+
dotnet_naming_rule.event_rule.import_to_resharper=as_predefined
28+
dotnet_naming_rule.event_rule.severity=warning
29+
dotnet_naming_rule.event_rule.style=lower_camel_case_style
30+
dotnet_naming_rule.event_rule.symbols=event_symbols
31+
dotnet_naming_rule.private_constants_rule.import_to_resharper=as_predefined
32+
dotnet_naming_rule.private_constants_rule.severity=warning
33+
dotnet_naming_rule.private_constants_rule.style=upper_camel_case_style
34+
dotnet_naming_rule.private_constants_rule.symbols=private_constants_symbols
35+
dotnet_naming_rule.private_static_readonly_rule.import_to_resharper=as_predefined
36+
dotnet_naming_rule.private_static_readonly_rule.severity=warning
37+
dotnet_naming_rule.private_static_readonly_rule.style=lower_camel_case_style
38+
dotnet_naming_rule.private_static_readonly_rule.symbols=private_static_readonly_symbols
39+
dotnet_naming_rule.property_rule.import_to_resharper=as_predefined
40+
dotnet_naming_rule.property_rule.severity=warning
41+
dotnet_naming_rule.property_rule.style=lower_camel_case_style
42+
dotnet_naming_rule.property_rule.symbols=property_symbols
43+
dotnet_naming_rule.public_fields_rule.import_to_resharper=as_predefined
44+
dotnet_naming_rule.public_fields_rule.severity=warning
45+
dotnet_naming_rule.public_fields_rule.style=lower_camel_case_style
46+
dotnet_naming_rule.public_fields_rule.symbols=public_fields_symbols
47+
dotnet_naming_rule.static_readonly_rule.import_to_resharper=as_predefined
48+
dotnet_naming_rule.static_readonly_rule.severity=warning
49+
dotnet_naming_rule.static_readonly_rule.style=lower_camel_case_style
50+
dotnet_naming_rule.static_readonly_rule.symbols=static_readonly_symbols
51+
dotnet_naming_rule.unity_serialized_field_rule.import_to_resharper=True
52+
dotnet_naming_rule.unity_serialized_field_rule.resharper_description=Unity serialized field
53+
dotnet_naming_rule.unity_serialized_field_rule.resharper_guid=5f0fdb63-c892-4d2c-9324-15c80b22a7ef
54+
dotnet_naming_rule.unity_serialized_field_rule.severity=warning
55+
dotnet_naming_rule.unity_serialized_field_rule.style=lower_camel_case_style
56+
dotnet_naming_rule.unity_serialized_field_rule.symbols=unity_serialized_field_symbols
57+
dotnet_naming_style.lower_camel_case_style.capitalization=camel_case
58+
dotnet_naming_style.upper_camel_case_style.capitalization=pascal_case
59+
dotnet_naming_symbols.constants_symbols.applicable_accessibilities=public,internal,protected,protected_internal,private_protected
60+
dotnet_naming_symbols.constants_symbols.applicable_kinds=field
61+
dotnet_naming_symbols.constants_symbols.required_modifiers=const
62+
dotnet_naming_symbols.event_symbols.applicable_accessibilities=*
63+
dotnet_naming_symbols.event_symbols.applicable_kinds=event
64+
dotnet_naming_symbols.private_constants_symbols.applicable_accessibilities=private
65+
dotnet_naming_symbols.private_constants_symbols.applicable_kinds=field
66+
dotnet_naming_symbols.private_constants_symbols.required_modifiers=const
67+
dotnet_naming_symbols.private_static_readonly_symbols.applicable_accessibilities=private
68+
dotnet_naming_symbols.private_static_readonly_symbols.applicable_kinds=field
69+
dotnet_naming_symbols.private_static_readonly_symbols.required_modifiers=static,readonly
70+
dotnet_naming_symbols.property_symbols.applicable_accessibilities=*
71+
dotnet_naming_symbols.property_symbols.applicable_kinds=property
72+
dotnet_naming_symbols.public_fields_symbols.applicable_accessibilities=public,internal,protected,protected_internal,private_protected
73+
dotnet_naming_symbols.public_fields_symbols.applicable_kinds=field
74+
dotnet_naming_symbols.static_readonly_symbols.applicable_accessibilities=public,internal,protected,protected_internal,private_protected
75+
dotnet_naming_symbols.static_readonly_symbols.applicable_kinds=field
76+
dotnet_naming_symbols.static_readonly_symbols.required_modifiers=static,readonly
77+
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_accessibilities=*
78+
dotnet_naming_symbols.unity_serialized_field_symbols.applicable_kinds=
79+
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_applicable_kinds=unity_serialised_field
80+
dotnet_naming_symbols.unity_serialized_field_symbols.resharper_required_modifiers=instance
81+
dotnet_separate_import_directive_groups=true
82+
dotnet_style_parentheses_in_arithmetic_binary_operators=never_if_unnecessary:none
83+
dotnet_style_parentheses_in_other_binary_operators=never_if_unnecessary:none
84+
dotnet_style_parentheses_in_relational_binary_operators=never_if_unnecessary:none
85+
dotnet_style_predefined_type_for_locals_parameters_members=true:suggestion
86+
dotnet_style_predefined_type_for_member_access=true:suggestion
87+
dotnet_style_qualification_for_event=false:suggestion
88+
dotnet_style_qualification_for_field=false:suggestion
89+
dotnet_style_qualification_for_method=false:suggestion
90+
dotnet_style_qualification_for_property=false:suggestion
91+
dotnet_style_require_accessibility_modifiers=for_non_interface_members:warning
92+
93+
# ReSharper properties
94+
resharper_align_multiline_binary_expressions_chain=false
95+
resharper_align_multiline_statement_conditions=false
96+
resharper_allow_comment_after_lbrace=true
97+
resharper_apply_auto_detected_rules=false
98+
resharper_autodetect_indent_settings=true
99+
resharper_blank_lines_after_block_statements=0
100+
resharper_blank_lines_around_single_line_type=0
101+
resharper_blank_lines_between_using_groups=1
102+
resharper_braces_for_ifelse=not_required
103+
resharper_constructor_or_destructor_body=expression_body
104+
resharper_cpp_insert_final_newline=false
105+
resharper_csharp_empty_block_style=together
106+
resharper_csharp_insert_final_newline=true
107+
resharper_csharp_naming_rule.constants=AaBb
108+
resharper_csharp_naming_rule.static_readonly=aaBb
109+
resharper_csharp_new_line_before_while=false
110+
resharper_csharp_wrap_before_ternary_opsigns=false
111+
resharper_csharp_wrap_multiple_declaration_style=wrap_if_long
112+
resharper_csharp_wrap_multiple_type_parameter_constraints_style=wrap_if_long
113+
resharper_csharp_wrap_ternary_expr_style=wrap_if_long
114+
resharper_default_private_modifier=explicit
115+
resharper_default_value_when_type_not_evident=default_expression
116+
resharper_html_insert_final_newline=false
117+
resharper_indent_preprocessor_region=outdent
118+
resharper_keep_existing_attribute_arrangement=true
119+
resharper_keep_existing_declaration_parens_arrangement=false
120+
resharper_keep_existing_enum_arrangement=true
121+
resharper_keep_existing_expr_member_arrangement=false
122+
resharper_keep_existing_invocation_parens_arrangement=false
123+
resharper_keep_existing_property_patterns_arrangement=false
124+
resharper_keep_existing_switch_expression_arrangement=false
125+
resharper_local_function_body=expression_body
126+
resharper_method_or_operator_body=expression_body
127+
resharper_nested_ternary_style=compact
128+
resharper_new_line_before_while=true
129+
resharper_outdent_statement_labels=true
130+
resharper_place_accessorholder_attribute_on_same_line=if_owner_is_single_line
131+
resharper_place_accessor_attribute_on_same_line=if_owner_is_single_line
132+
resharper_place_attribute_on_same_line=false
133+
resharper_place_expr_accessor_on_single_line=true
134+
resharper_place_expr_method_on_single_line=true
135+
resharper_place_expr_property_on_single_line=true
136+
resharper_place_field_attribute_on_same_line=if_owner_is_single_line
137+
resharper_place_linq_into_on_new_line=false
138+
resharper_place_simple_embedded_block_on_same_line=true
139+
resharper_place_simple_embedded_statement_on_same_line=false
140+
resharper_place_simple_enum_on_single_line=true
141+
resharper_place_simple_method_on_single_line=true
142+
resharper_place_simple_switch_expression_on_single_line=true
143+
resharper_resx_insert_final_newline=false
144+
resharper_shaderlab_insert_final_newline=false
145+
resharper_show_autodetect_configure_formatting_tip=false
146+
resharper_space_after_cast=false
147+
resharper_space_within_single_line_array_initializer_braces=true
148+
resharper_use_continuous_indent_inside_parens=false
149+
resharper_use_indent_from_vs=false
150+
resharper_vb_insert_final_newline=false
151+
resharper_wrap_enum_declaration=wrap_if_long
152+
resharper_wrap_for_stmt_header_style=wrap_if_long
153+
resharper_xmldoc_insert_final_newline=false
154+
resharper_xml_insert_final_newline=false
155+
156+
# ReSharper inspection severities
157+
resharper_annotate_can_be_null_parameter_highlighting=warning
158+
resharper_annotate_can_be_null_type_member_highlighting=warning
159+
resharper_annotate_not_null_parameter_highlighting=warning
160+
resharper_annotate_not_null_type_member_highlighting=warning
161+
resharper_arguments_style_anonymous_function_highlighting=suggestion
162+
resharper_arguments_style_literal_highlighting=suggestion
163+
resharper_arguments_style_named_expression_highlighting=suggestion
164+
resharper_arguments_style_other_highlighting=suggestion
165+
resharper_arguments_style_string_literal_highlighting=suggestion
166+
resharper_arrange_accessor_owner_body_highlighting=warning
167+
resharper_arrange_constructor_or_destructor_body_highlighting=warning
168+
resharper_arrange_default_value_when_type_evident_highlighting=warning
169+
resharper_arrange_default_value_when_type_not_evident_highlighting=warning
170+
resharper_arrange_local_function_body_highlighting=warning
171+
resharper_arrange_method_or_operator_body_highlighting=warning
172+
resharper_arrange_object_creation_when_type_evident_highlighting=warning
173+
resharper_arrange_object_creation_when_type_not_evident_highlighting=warning
174+
resharper_arrange_redundant_parentheses_highlighting=suggestion
175+
resharper_arrange_static_member_qualifier_highlighting=warning
176+
resharper_arrange_this_qualifier_highlighting=hint
177+
resharper_arrange_trailing_comma_in_multiline_lists_highlighting=warning
178+
resharper_arrange_trailing_comma_in_singleline_lists_highlighting=warning
179+
resharper_auto_property_can_be_made_get_only_global_highlighting=warning
180+
resharper_auto_property_can_be_made_get_only_local_highlighting=warning
181+
resharper_built_in_type_reference_style_for_member_access_highlighting=hint
182+
resharper_built_in_type_reference_style_highlighting=hint
183+
resharper_check_for_reference_equality_instead_1_highlighting=warning
184+
resharper_check_for_reference_equality_instead_2_highlighting=warning
185+
resharper_check_for_reference_equality_instead_3_highlighting=warning
186+
resharper_check_for_reference_equality_instead_4_highlighting=warning
187+
resharper_class_can_be_sealed_global_highlighting=none
188+
resharper_class_can_be_sealed_local_highlighting=none
189+
resharper_compare_non_constrained_generic_with_null_highlighting=warning
190+
resharper_compare_of_floats_by_equality_operator_highlighting=none
191+
resharper_convert_if_do_to_while_highlighting=warning
192+
resharper_convert_if_statement_to_conditional_ternary_expression_highlighting=warning
193+
resharper_convert_if_statement_to_switch_statement_highlighting=suggestion
194+
resharper_convert_if_to_or_expression_highlighting=warning
195+
resharper_convert_to_constant_global_highlighting=warning
196+
resharper_convert_to_constant_local_highlighting=warning
197+
resharper_empty_constructor_highlighting=suggestion
198+
resharper_field_can_be_made_read_only_global_highlighting=warning
199+
resharper_field_can_be_made_read_only_local_highlighting=warning
200+
resharper_heap_view_boxing_allocation_highlighting=hint
201+
resharper_heap_view_object_allocation_evident_highlighting=hint
202+
resharper_heap_view_object_allocation_highlighting=hint
203+
resharper_invert_if_highlighting=suggestion
204+
resharper_local_function_can_be_made_static_highlighting=warning
205+
resharper_local_variable_hides_member_highlighting=none
206+
resharper_member_can_be_internal_highlighting=none
207+
resharper_member_can_be_made_static_global_highlighting=warning
208+
resharper_member_can_be_private_global_highlighting=warning
209+
resharper_merge_into_logical_pattern_highlighting=warning
210+
resharper_non_readonly_member_in_get_hash_code_highlighting=suggestion
211+
resharper_not_accessed_field_global_highlighting=warning
212+
resharper_parameter_hides_member_highlighting=none
213+
resharper_parameter_type_can_be_enumerable_global_highlighting=warning
214+
resharper_parameter_type_can_be_enumerable_local_highlighting=suggestion
215+
resharper_possible_multiple_enumeration_highlighting=none
216+
resharper_possible_null_reference_exception_highlighting=suggestion
217+
resharper_possible_unintended_reference_comparison_highlighting=suggestion
218+
resharper_redundant_base_qualifier_highlighting=warning
219+
resharper_redundant_default_member_initializer_highlighting=suggestion
220+
resharper_redundant_empty_object_creation_argument_list_highlighting=suggestion
221+
resharper_redundant_explicit_array_creation_highlighting=none
222+
resharper_redundant_name_qualifier_highlighting=none
223+
resharper_redundant_readonly_modifier_highlighting=warning
224+
resharper_redundant_using_directive_highlighting=suggestion
225+
resharper_remove_redundant_braces_highlighting=warning
226+
resharper_static_member_in_generic_type_highlighting=suggestion
227+
resharper_string_ends_with_is_culture_specific_highlighting=warning
228+
resharper_string_starts_with_is_culture_specific_highlighting=warning
229+
resharper_suggest_base_type_for_parameter_highlighting=suggestion
230+
resharper_suggest_var_or_type_deconstruction_declarations_highlighting=warning
231+
resharper_switch_statement_handles_some_known_enum_values_with_default_highlighting=none
232+
resharper_switch_statement_missing_some_enum_cases_no_default_highlighting=none
233+
resharper_tabs_and_spaces_mismatch_highlighting=warning
234+
resharper_tabs_are_disallowed_highlighting=warning
235+
resharper_unnecessary_whitespace_highlighting=warning
236+
resharper_unused_member_local_highlighting=suggestion
237+
resharper_unused_parameter_local_highlighting=suggestion
238+
resharper_unused_type_parameter_highlighting=suggestion
239+
resharper_unused_variable_highlighting=suggestion
240+
resharper_use_deconstruction_highlighting=warning
241+
resharper_web_config_module_not_resolved_highlighting=warning
242+
resharper_web_config_type_not_resolved_highlighting=warning
243+
resharper_web_config_wrong_module_highlighting=warning
244+
245+
[{*.csproj,*.vcxproj}]
246+
indent_size=2
247+
248+
[*.txt]
249+
trim_trailing_whitespace=false
250+
insert_final_newline=false

.gitattributes

+63
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,63 @@
1+
###############################################################################
2+
# Set default behavior to automatically normalize line endings.
3+
###############################################################################
4+
* text=auto
5+
6+
###############################################################################
7+
# Set default behavior for command prompt diff.
8+
#
9+
# This is need for earlier builds of msysgit that does not have it on by
10+
# default for csharp files.
11+
# Note: This is only used by command line
12+
###############################################################################
13+
#*.cs diff=csharp
14+
15+
###############################################################################
16+
# Set the merge driver for project and solution files
17+
#
18+
# Merging from the command prompt will add diff markers to the files if there
19+
# are conflicts (Merging from VS is not affected by the settings below, in VS
20+
# the diff markers are never inserted). Diff markers may cause the following
21+
# file extensions to fail to load in VS. An alternative would be to treat
22+
# these files as binary and thus will always conflict and require user
23+
# intervention with every merge. To do so, just uncomment the entries below
24+
###############################################################################
25+
#*.sln merge=binary
26+
#*.csproj merge=binary
27+
#*.vbproj merge=binary
28+
#*.vcxproj merge=binary
29+
#*.vcproj merge=binary
30+
#*.dbproj merge=binary
31+
#*.fsproj merge=binary
32+
#*.lsproj merge=binary
33+
#*.wixproj merge=binary
34+
#*.modelproj merge=binary
35+
#*.sqlproj merge=binary
36+
#*.wwaproj merge=binary
37+
38+
###############################################################################
39+
# behavior for image files
40+
#
41+
# image files are treated as binary by default.
42+
###############################################################################
43+
#*.jpg binary
44+
#*.png binary
45+
#*.gif binary
46+
47+
###############################################################################
48+
# diff behavior for common document formats
49+
#
50+
# Convert binary document formats to text before diffing them. This feature
51+
# is only available from the command line. Turn it on by uncommenting the
52+
# entries below.
53+
###############################################################################
54+
#*.doc diff=astextplain
55+
#*.DOC diff=astextplain
56+
#*.docx diff=astextplain
57+
#*.DOCX diff=astextplain
58+
#*.dot diff=astextplain
59+
#*.DOT diff=astextplain
60+
#*.pdf diff=astextplain
61+
#*.PDF diff=astextplain
62+
#*.rtf diff=astextplain
63+
#*.RTF diff=astextplain

0 commit comments

Comments
 (0)