diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2024-04-12 16:59:10 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-12 16:59:10 +0200 |
commit | 029aadef563fb69cf49aa9795b62f27171f8c3f4 (patch) | |
tree | 266cf74e786292186812c4b0e000a0102eb70b7a | |
parent | 30e71782afd9a1fd35707b89511bcd1aa538f673 (diff) | |
parent | 7336ec1f7e9649db5da09b9230e69b0947a4e815 (diff) | |
download | redot-engine-029aadef563fb69cf49aa9795b62f27171f8c3f4.tar.gz |
Merge pull request #90579 from shana/vs-fix-line-endings
Visual Studio: Fix indentation in sln file, VS is VERY PICKY
-rw-r--r-- | methods.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/methods.py b/methods.py index dd01469b86..4d1f4c1cda 100644 --- a/methods.py +++ b/methods.py @@ -1621,8 +1621,8 @@ def generate_vs_project(env, original_args, project_name="godot"): sln_template = sln_template.replace("%%NAME%%", project_name) sln_template = sln_template.replace("%%UUID%%", proj_uuid) sln_template = sln_template.replace("%%SLNUUID%%", sln_uuid) - sln_template = sln_template.replace("%%SECTION1%%", "\n ".join(section1)) - sln_template = sln_template.replace("%%SECTION2%%", "\n ".join(section2)) + sln_template = sln_template.replace("%%SECTION1%%", "\n\t\t".join(section1)) + sln_template = sln_template.replace("%%SECTION2%%", "\n\t\t".join(section2)) with open(f"{project_name}.sln", "w", encoding="utf-8", newline="\r\n") as f: f.write(sln_template) |