why are these so freaking confusing?
I had a filetype that worked back in Xojo2014
then somewhere along the line the IDE dialog for entering Filetypes changed… and now what I had no longer works
I want to be able to select a XOJO VCP project file … however this no longer works (file remains grayed out)
Display Name : Xojo VCP Project
Description :
UTI Identifier : com.S.projectname
Conforms to :
Extensions : .xojo_project;.rbvcp
Mime Type :
OS Types :
UTI Type : Imported
Note : removing the periods in Extensions did nothing
I’m sorry Norman, but I have no idea what you just said…
The information I entered above, was what I saw in the NEW Filetype dialog… which means Xojo CREATED it from the original project file… I created the original Filetype in a much earlier version (when life was “simple”)
Please indicate what the correct information should be, as the LR is rather vague
when you import one from some other application (the other app defines it - in this case the one for Xojo project & realbasic projects) you need to mimic the information that other application has
However you might need 2 entries because the IDE defines 2 UTIs (different extensions)
UTI = com.xojo.project.legacytextproject
extension = .rbvcp
OStype = RBVC
conforms to = public.plain-text, com.xojo.project
UTI = com.xojo.project.text
extension = .xojo_project
OStype = RBVC
conforms to = public.plain-text, com.xojo.project
if you want to IMPORT one from another app it definitely helps to have the other app available (its kind of required in a lot of cases)
You CAN open its plist if you definitely need to and peek at the plists Exported Type UTI’s in Xcodes plist editor
And since you can use find to find text in any of the fields in the UTI you can search for the extension, name, etc
And once you get things set up you can use mdls to see IF you have things set up right
Or to examine the attributes of the file to see what known UTI it conforms to etc
For instance, on my machine, the IDE project file gives the following and you can see that the “kMDItemContentType” tells you what UTI and "kMDItemContentTypeTree " the content hierarchy it is in - yes the IDE is still a rbvcp project since it would require a pile of unnecessary svn moves etc to change it for no real benefit -