jessegrosjean / foldingtext-for-atom

Outline editor with productivity features (No longer in development)
Other
40 stars 10 forks source link

Register kMDItemContentType of ftml files as "com.foldingtext.foldingtext.ftml.document" #48

Open RobTrew opened 9 years ago

RobTrew commented 9 years ago

Quicklook can now be enabled by running lsregister on FoldingTextHelper.app, which changes the 'Kind' display in OS X Finder, but still leaves mdls reporting:

kMDItemContentType             = "dyn.ah62d4rv4ge80q7drru"
kMDItemContentTypeTree         = (
    "dyn.ah62d4rv4ge80q7drru",
    "public.data",
    "public.item"
)

instead of the target values:

kMDItemContentType             = "com.foldingtext.foldingtext.ftml.document"
kMDItemContentTypeTree         = (
    "com.foldingtext.foldingtext.ftml.document",
    "public.html",
    "public.text",
    "public.data",
    "public.item",
    "public.content"
)