From fd0cc907a4719b2b49f317517fbc6a56718e9fa2 Mon Sep 17 00:00:00 2001 From: Markus Ewald Date: Sat, 5 Jul 2025 12:55:11 +0200 Subject: [PATCH] Added Git settings --- .editorconfig | 23 +++++++++++++++++++++++ .gitignore | 37 +++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+) create mode 100644 .editorconfig create mode 100644 .gitignore diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..0493189 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +[*.cs] +charset = utf-8 + +# Indentation and line length +indent_size = 2 +indent_style = space +tab_width = 2 +max_line_length = 100 +end_of_line = lf + +# Organize usings +dotnet_separate_import_directive_groups = true +dotnet_sort_system_directives_first = true + +# this. and Me. preferences +dotnet_style_qualification_for_field = true + +# var preferences +csharp_style_var_when_type_is_apparent = true + +# New line preferences +csharp_new_line_before_else = false +csharp_new_line_before_open_brace = none diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..3df6c73 --- /dev/null +++ b/.gitignore @@ -0,0 +1,37 @@ +NuclexAvaloniaDependencyInjectionConfig.cmake + +# Visual Studio Codium +.vscode/* +!.vscode/settings.json +!.vscode/tasks.json +!.vscode/launch.json +!.vscode/extensions.json +!.vscode/*.code-snippets + +# Visual Studio +.vs/ +*.rsuser +*.suo +*.user +*.userosscache +*.sln.docstates +*.userprefs + +# NUnit +*.VisualState.xml +TestResult.xml +nunit-*.xml + +# NCrunch +_NCrunch_* +.*crunch*.local.xml +nCrunchTemp_* + +# Coverlet is a free, cross platform Code Coverage Tool +coverage*.json +coverage*.xml +coverage*.info + +# Artifacts +[Bb]in/ +[Oo]bj/