Skip to content

Commit 9376bb4

Browse files
sailroGitHub Enterprise
authored andcommitted
Merge pull request #192 from unity/nesting
Add sln/csproj file nesting when using VSCode
2 parents a194265 + 92df7d9 commit 9376bb4

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Packages/com.unity.ide.visualstudio/Editor/VisualStudioCodeInstallation.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -373,6 +373,10 @@ private void CreateSettingsFile(string vscodeDirectory, bool enablePatch)
373373

374374
var content = @"{
375375
" + excludes + @",
376+
""explorer.fileNesting.enabled"": true,
377+
""explorer.fileNesting.patterns"": {
378+
""*.sln"": ""*.csproj"",
379+
},
376380
""dotnet.defaultSolution"": """ + IOPath.GetFileName(ProjectGenerator.SolutionFile()) + @"""
377381
}";
378382

0 commit comments

Comments
 (0)