diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..7bd1b70 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# EditorConfig is awesome: https://EditorConfig.org + +root = true + +# top-most EditorConfig file + +# Baseline +[*] +charset = utf-8 +indent_style = space +indent_size = 4 +tab_width = 4 +trim_trailing_whitespace = true +end_of_line = lf +insert_final_newline = true + +# ReSharper properties +resharper_csharp_insert_final_newline = true + +# Documentation, Utils +[*.{md,mdx,diff}] +trim_trailing_whitespace = false + +# Windows shell scripts +[*.{cmd,bat,ps1}] +end_of_line = crlf diff --git a/.gitignore b/.gitignore index 4079ccc..4a086d8 100644 --- a/.gitignore +++ b/.gitignore @@ -21,8 +21,9 @@ # Do not ignore git files in the root of the repo. !/.git* -# Do not ignore current project's `.uproject`. +# Do not ignore current project's `.uproject` and config !/*.uproject +!/*.editorconfig # Do not ignore source, config and plugins dirs. !/Source/** diff --git a/Config/DefaultEditor.ini b/Config/DefaultEditor.ini new file mode 100644 index 0000000..a08ca70 --- /dev/null +++ b/Config/DefaultEditor.ini @@ -0,0 +1,2 @@ +[SystemSettingsEditor] +r.Editor.SkipSourceControlCheckForEditablePackages = 1 \ No newline at end of file diff --git a/Config/DefaultEditorPerProjectUserSettings.ini b/Config/DefaultEditorPerProjectUserSettings.ini new file mode 100644 index 0000000..fc29abf --- /dev/null +++ b/Config/DefaultEditorPerProjectUserSettings.ini @@ -0,0 +1,7 @@ +[/Script/UnrealEd.EditorLoadingSavingSettings] +bSCCAutoAddNewFiles=False +bAutomaticallyCheckoutOnAssetModification=True +bPromptForCheckoutOnAssetModification=False + +[/Script/UnrealEd.EditorPerProjectUserSettings] +bAutoloadCheckedOutPackages=True \ No newline at end of file diff --git a/README.md b/README.md index bc7cd3c..7682112 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,6 @@ # Unreal Engine 5 Starter template +Forked from https://github.com/StpGabriel/unreal-engine-5-template Unreal Engine 5 Starter template for Git. A correct `git` setup example _with [`git-lfs`](https://git-lfs.github.com/)_ for Unreal Engine 5 and Unreal Engine 4 projects. ## Version Management Design and Conventions