Skip to content

Commit 7336ec1

Browse files
committed
Visual Studio: Fix indentation in sln file, VS is VERY PICKY
1 parent 536ca28 commit 7336ec1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

methods.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1621,8 +1621,8 @@ def format_key_value(v):
16211621
sln_template = sln_template.replace("%%NAME%%", project_name)
16221622
sln_template = sln_template.replace("%%UUID%%", proj_uuid)
16231623
sln_template = sln_template.replace("%%SLNUUID%%", sln_uuid)
1624-
sln_template = sln_template.replace("%%SECTION1%%", "\n ".join(section1))
1625-
sln_template = sln_template.replace("%%SECTION2%%", "\n ".join(section2))
1624+
sln_template = sln_template.replace("%%SECTION1%%", "\n\t\t".join(section1))
1625+
sln_template = sln_template.replace("%%SECTION2%%", "\n\t\t".join(section2))
16261626

16271627
with open(f"{project_name}.sln", "w", encoding="utf-8", newline="\r\n") as f:
16281628
f.write(sln_template)

0 commit comments

Comments
 (0)