From abc9015d4d10a9794939e7780f22451316b66b65 Mon Sep 17 00:00:00 2001 From: Ignacio Calderon Date: Wed, 26 Jun 2024 15:28:04 +0200 Subject: [PATCH] Added several more necessary file types to `_FILE_TYPES` (#350) (#354) Co-authored-by: Diego Fonseca --- pbxproj/pbxextensions/ProjectFiles.py | 18 +++++++++++++++++- 1 file changed, 17 insertions(+), 1 deletion(-) diff --git a/pbxproj/pbxextensions/ProjectFiles.py b/pbxproj/pbxextensions/ProjectFiles.py index d00483a..d833d2e 100644 --- a/pbxproj/pbxextensions/ProjectFiles.py +++ b/pbxproj/pbxextensions/ProjectFiles.py @@ -115,7 +115,23 @@ class ProjectFiles: '.mlmodel':('file.mlmodel', 'PBXSourcesBuildPhase'), '.html':('text.html', 'PBXResourcesBuildPhase'), '.entitlements': ('text.plist.entitlements', 'PBXResourcesBuildPhase'), - '.xcprivacy': ('text.plist.xml', 'PBXResourcesBuildPhase') + '.xcprivacy': ('text.plist.xml', 'PBXResourcesBuildPhase'), + '.md': ('text', 'PBXResourcesBuildPhase'), + '.blend': ('file.blender', 'PBXResourcesBuildPhase'), + '.xcf': ('file.xcf', 'PBXResourcesBuildPhase'), + '.scene': ('file.scene', 'PBXResourcesBuildPhase'), + '.wav': ('audio.wav', 'PBXResourcesBuildPhase'), + '.ogg': ('audio.ogg', 'PBXResourcesBuildPhase'), + '.as': ('sourcecode.actionscript', 'PBXSourcesBuildPhase'), + '.mesh': ('file.mesh', 'PBXResourcesBuildPhase'), + '.ttf': ('file.ttf', 'PBXResourcesBuildPhase'), + '.vert': ('sourcecode.glsl', 'PBXResourcesBuildPhase'), + '.frag': ('sourcecode.glsl', 'PBXResourcesBuildPhase'), + '.jfif': ('image.jfif', 'PBXResourcesBuildPhase'), + '.py': ('sourcecode.python', 'PBXSourcesBuildPhase'), + '.S': ('sourcecode.asm', 'PBXSourcesBuildPhase'), + '.asm': ('sourcecode.asm', 'PBXSourcesBuildPhase'), + '.inl': ('sourcecode.c.h', 'PBXHeadersBuildPhase') } _SPECIAL_FOLDERS = [ '.bundle',