- macOS 13.6 Ventura
- Mac Mini M1
Can someone remind me how to get QuickLook to display .mojo files, or any unknown file to display its contents. Some of my code source files display with code highlighting and everything, but .mojo files do not even display in plain text. There's nothing special about .mojo files; they're just plain text files. Indeed, I've already got them configured to open in Cursor editor when double-clicked. It's just [space] that doesn't work.
mdlsto show us the file type(s) of a representative file? KMDItemKind and kMDItemContentType & kMDItemContentTypeTree are most relevant for quick look plug in to render a preview within finder. https://i.stack.imgur.com/OuA9p.jpg open terminal app and type mdls then drag in one or more of the mojo files and drop on the terminal window and press return – bmike Dec 02 '23 at 17:21ask.differentputs a limit on the length of replies, it seems, but these are the two sections you mentioned...kMDItemContentType = "dyn.ah62d4rv4ge80455nr6" kMDItemContentTypeTree = ( "public.item", "dyn.ah62d4rv4ge80455nr6", "public.data" )
– carlcaulkett Dec 03 '23 at 18:14ask.differentwon't have it! In answer to your last question,.mojofiles are plain text files which hold source code for the Mojo programming language which is essentially a compiled super-set of Python! I'll check out those links. Thanks again! – carlcaulkett Dec 03 '23 at 18:22.mojofile now brings up a window, it doesn't show much, unless they're using the white text on a white background approach – carlcaulkett Dec 03 '23 at 18:37