Skip to content

Commit 1b65ec9

Browse files
committed
Treat Unity asset files as yaml
1 parent f3e025f commit 1b65ec9

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

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

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

374374
var content = @"{
375375
" + excludes + @",
376+
""file.associations"": {
377+
""*.asset"": ""yaml"",
378+
""*.meta"": ""yaml"",
379+
""*.prefab"": ""yaml"",
380+
""*.unity"": ""yaml"",
381+
},
376382
""explorer.fileNesting.enabled"": true,
377383
""explorer.fileNesting.patterns"": {
378384
""*.sln"": ""*.csproj"",

0 commit comments

Comments
 (0)