All file types associated with an application
How can I get a list of all file types for which a certain application is the default program?
I know that I can get a list of all file types an application is capable of opening from the
info.plist, but this also includes lots of file types, which have other default applications.
(My operating system is macOS 11.6.1 (Big Sur) and, in case it matters, I'd like to get a list of all the file types which currently get opened with XCode so I can change their association to my new editor)