Skip to content

Commit 204d139

Browse files
sailroGitHub Enterprise
authored andcommitted
Merge pull request #202 from unity/yaml-file-types
Treat Unity asset files as yaml
2 parents 96ec6e5 + 1b65ec9 commit 204d139

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)