Files
textmate/Applications/TextMate/resources/Info.plist
Allan Odgaard 9f5aa0b2a8 Allow folders and bundles to be opened with TextMate
This is mainly for TextMate’s own Open With menu, as it doesn’t seem to affect Finder’s (and TextMate already did support folders being dragged onto its application icon).
2012-09-03 16:42:16 +02:00

551 lines
18 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
CFBundleName = "${APP_NAME}";
CFBundleShortVersionString = "${APP_VERSION}"; // shown in About window
CFBundleVersion = "${APP_REVISION}"; // shown in About window in parenthesis (but this format is not well-formed)
CFBundleIdentifier = "com.macromates.${APP_NAME}.preview";
CFBundleDevelopmentRegion = English;
CFBundleExecutable = "${TARGET_NAME}";
CFBundleHelpBookFolder = "${APP_NAME} Help";
CFBundleHelpBookName = "${APP_NAME} 2 Help";
CFBundleIconFile = "TextMate";
CFBundleInfoDictionaryVersion = "6.0";
CFBundlePackageType = APPL;
CFBundleSignature = avin; // we didnt register this code with Apple
LSMinimumSystemVersion = "${APP_MIN_OS}";
NSAppleScriptEnabled = YES;
NSMainNibFile = MainMenu;
NSPrincipalClass = NSApplication;
NSContactsUsageDescription = 'Your email address is used as identifier for crash report submission. It can be changed in Preferences.\n\nIt is also used as a default contact address if you create your own bundle. This can be changed in the bundle editor after you create a bundle.';
CFBundleURLTypes = (
{ CFBundleURLName = "TextMate URL";
CFBundleURLSchemes = ( txmt );
}
);
CFBundleDocumentTypes = (
{ CFBundleTypeName = "ADA source";
CFBundleTypeExtensions = (adb, ads);
CFBundleTypeIconFile = ADA;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Compiled AppleScript";
CFBundleTypeExtensions = (scpt);
CFBundleTypeIconFile = AppleScript;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "AppleScript source";
CFBundleTypeExtensions = (applescript);
CFBundleTypeIconFile = AppleScript;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "ActionScript source";
CFBundleTypeExtensions = (as);
CFBundleTypeIconFile = ActionScript;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "ASP document";
CFBundleTypeExtensions = (asp, asa);
CFBundleTypeIconFile = ASP;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "ASP.NET document";
CFBundleTypeExtensions = (aspx, ascx, asmx, ashx);
CFBundleTypeIconFile = ASPNET;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "BibTeX bibliography";
CFBundleTypeExtensions = (bib);
CFBundleTypeIconFile = BibTeX;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "C source";
CFBundleTypeExtensions = (c);
CFBundleTypeIconFile = C;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "C++ source";
CFBundleTypeExtensions = (cc, cp, cpp, cxx, "c++");
CFBundleTypeIconFile = "C++";
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "C# source";
CFBundleTypeExtensions = (cs);
CFBundleTypeIconFile = "C#";
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "CoffeeScript source";
CFBundleTypeExtensions = (coffee);
CFBundleTypeIconFile = CoffeeScript;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Context Free Design Grammar";
CFBundleTypeExtensions = (cfdg);
CFBundleTypeIconFile = CFDG;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Comma separated values";
CFBundleTypeExtensions = (csv);
CFBundleTypeIconFile = Text;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Tab separated values";
CFBundleTypeExtensions = (tsv);
CFBundleTypeIconFile = Text;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "CGI script";
CFBundleTypeExtensions = (cgi, fcgi);
CFBundleTypeIconFile = CGI;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Configuration file";
CFBundleTypeExtensions = (cfg, conf, config, htaccess);
CFBundleTypeIconFile = Config;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Cascading style sheet";
CFBundleTypeExtensions = (css);
CFBundleTypeIconFile = CSS;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Differences file";
CFBundleTypeExtensions = (diff);
CFBundleTypeIconFile = Diff;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Document Type Definition";
CFBundleTypeExtensions = (dtd);
CFBundleTypeIconFile = DTD;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Dylan source";
CFBundleTypeExtensions = (dylan);
CFBundleTypeIconFile = Dylan;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Erlang source";
CFBundleTypeExtensions = (erl, hrl);
CFBundleTypeIconFile = Erlang;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "F-Script source";
CFBundleTypeExtensions = (fscript);
CFBundleTypeIconFile = "F-Script";
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Fortran source";
CFBundleTypeExtensions = (f, for, fpp, f77, f90, f95);
CFBundleTypeIconFile = Fortran;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Header";
CFBundleTypeExtensions = (h, pch);
CFBundleTypeIconFile = H;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "C++ header";
CFBundleTypeExtensions = (hh, hpp, hxx, "h++");
CFBundleTypeIconFile = "H++";
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "GTD document";
CFBundleTypeExtensions = (gtd, gtdlog);
CFBundleTypeIconFile = GTD;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Haskell source";
CFBundleTypeExtensions = (hs, lhs);
CFBundleTypeIconFile = Haskell;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "HTML document";
CFBundleTypeExtensions = (htm, html, phtml, shtml);
CFBundleTypeIconFile = HTML;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Include file";
CFBundleTypeExtensions = (inc);
CFBundleTypeIconFile = Inc;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "iCalendar schedule";
CFBundleTypeExtensions = (ics);
CFBundleTypeIconFile = iCal;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "MS Windows initialization file";
CFBundleTypeExtensions = (ini);
CFBundleTypeIconFile = INI;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Io source";
CFBundleTypeExtensions = (io);
CFBundleTypeIconFile = Io;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Java source";
CFBundleTypeExtensions = (java);
CFBundleTypeIconFile = Java;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "BeanShell script";
CFBundleTypeExtensions = (bsh);
CFBundleTypeIconFile = Java;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Java properties file";
CFBundleTypeExtensions = (properties);
CFBundleTypeIconFile = Java;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "JavaScript source";
CFBundleTypeExtensions = (js, htc);
CFBundleTypeIconFile = JavaScript;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Java Server Page";
CFBundleTypeExtensions = (jsp);
CFBundleTypeIconFile = JSP;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "JSON file";
CFBundleTypeExtensions = (json);
CFBundleTypeIconFile = JSON;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "LDAP Data Interchange Format";
CFBundleTypeExtensions = (ldif);
CFBundleTypeIconFile = Blank;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Lisp source";
CFBundleTypeExtensions = (lisp, cl, l, lsp, mud, el);
CFBundleTypeIconFile = Lisp;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Log file";
CFBundleTypeExtensions = (log);
CFBundleTypeIconFile = Log;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Logo source";
CFBundleTypeExtensions = (logo);
CFBundleTypeIconFile = Logo;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Lua source";
CFBundleTypeExtensions = (lua);
CFBundleTypeIconFile = Lua;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Markdown document";
CFBundleTypeExtensions = (markdown, mdown, markdn, md);
CFBundleTypeIconFile = Markdown;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Mediawiki document";
CFBundleTypeExtensions = (wiki, wikipedia, mediawiki);
CFBundleTypeIconFile = Wiki;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "MIPS assembler source";
CFBundleTypeExtensions = (s, mips, spim, asm);
CFBundleTypeIconFile = ASM;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Modula-3 source";
CFBundleTypeExtensions = (m3, cm3);
CFBundleTypeIconFile = Modula;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "MoinMoin document";
CFBundleTypeExtensions = (moinmoin);
CFBundleTypeIconFile = Wiki;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Objective-C source";
CFBundleTypeExtensions = (m);
CFBundleTypeIconFile = "Obj-C";
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Objective-C++ source";
CFBundleTypeExtensions = (mm);
CFBundleTypeIconFile = "Obj-C++";
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "OCaml source";
CFBundleTypeExtensions = (ml, mli, mll, mly);
CFBundleTypeIconFile = OCaml;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Pascal source";
CFBundleTypeExtensions = (pas, p);
CFBundleTypeIconFile = Pascal;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Patch file";
CFBundleTypeExtensions = (patch);
CFBundleTypeIconFile = Patch;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Perl source";
CFBundleTypeExtensions = (pl, pod, perl);
CFBundleTypeIconFile = Perl;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Perl module";
CFBundleTypeExtensions = (pm);
CFBundleTypeIconFile = PERL;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "PHP source";
CFBundleTypeExtensions = (php, php3, php4, php5);
CFBundleTypeIconFile = PHP;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "PostScript source";
CFBundleTypeExtensions = (ps, eps);
CFBundleTypeIconFile = PostScript;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Property list";
CFBundleTypeExtensions = (dict, plist, scriptSuite, scriptTerminology);
CFBundleTypeIconFile = Plist;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Python source";
CFBundleTypeExtensions = (py, rpy, cpy, python);
CFBundleTypeIconFile = Python;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "R source";
CFBundleTypeExtensions = (r, s);
CFBundleTypeIconFile = R;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Ragel source";
CFBundleTypeExtensions = (rl, ragel);
CFBundleTypeIconFile = Ragel;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Remind document";
CFBundleTypeExtensions = (rem, remind);
CFBundleTypeIconFile = Blank;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "reStructuredText document";
CFBundleTypeExtensions = (rst, rest);
CFBundleTypeIconFile = reST;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "HTML with embedded Ruby";
CFBundleTypeExtensions = (rhtml);
CFBundleTypeIconFile = RHTML;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "SQL with embedded Ruby";
CFBundleTypeExtensions = (erbsql);
CFBundleTypeIconFile = SQL;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Ruby source";
CFBundleTypeExtensions = (rb, rbx, rjs, rxml);
CFBundleTypeIconFile = Ruby;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Scheme source";
CFBundleTypeExtensions = (scm, sch);
CFBundleTypeIconFile = Scheme;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Setext document";
CFBundleTypeExtensions = (ext);
CFBundleTypeIconFile = Blank;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Shell script";
CFBundleTypeExtensions = (sh, ss, bashrc, "bash_profile", "bash_login", profile, "bash_logout");
CFBundleTypeIconFile = Shell;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Slate source";
CFBundleTypeExtensions = (slate);
CFBundleTypeIconFile = Slate;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "SQL source";
CFBundleTypeExtensions = (sql);
CFBundleTypeIconFile = SQL;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Standard ML source";
CFBundleTypeExtensions = (sml);
CFBundleTypeIconFile = SML;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Strings document";
CFBundleTypeExtensions = (strings);
CFBundleTypeIconFile = Strings;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Scalable vector graphics";
CFBundleTypeExtensions = (svg);
CFBundleTypeIconFile = SVG;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "SWIG source";
CFBundleTypeExtensions = (i, swg);
CFBundleTypeIconFile = SWIG;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Tcl source";
CFBundleTypeExtensions = (tcl);
CFBundleTypeIconFile = Tcl;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TeX document";
CFBundleTypeExtensions = (tex, sty, cls);
CFBundleTypeIconFile = TeX;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Plain text document";
CFBundleTypeExtensions = (text, txt, utf8);
CFBundleTypeIconFile = Text;
CFBundleTypeMIMETypes = ("text/plain");
CFBundleTypeOSTypes = (TEXT, sEXT, ttro);
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Textile document";
CFBundleTypeExtensions = (textile);
CFBundleTypeIconFile = Textile;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "XHTML document";
CFBundleTypeExtensions = (xhtml);
CFBundleTypeIconFile = XHTML;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "XML document";
CFBundleTypeExtensions = (xml, rss, tld, pt, cpt, dtml);
CFBundleTypeIconFile = XML;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "XSL stylesheet";
CFBundleTypeExtensions = (xsl, xslt);
CFBundleTypeIconFile = XSL;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Electronic business card";
CFBundleTypeExtensions = (vcf, vcard);
CFBundleTypeIconFile = Blank;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Visual Basic source";
CFBundleTypeExtensions = (vb);
CFBundleTypeIconFile = VisualBasic;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "YAML document";
CFBundleTypeExtensions = (yaml, yml);
CFBundleTypeIconFile = YAML;
CFBundleTypeRole = Editor;
},
/* bundle items */
{ CFBundleTypeName = "TextMate snippet";
CFBundleTypeExtensions = (tmSnippet);
CFBundleTypeIconFile = 'TextMate Snippet';
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TextMate macro";
CFBundleTypeExtensions = (tmMacro);
CFBundleTypeIconFile = 'TextMate Macro';
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TextMate language grammar";
CFBundleTypeExtensions = (tmLanguage);
CFBundleTypeIconFile = 'TextMate Grammar';
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TextMate preferences";
CFBundleTypeExtensions = (tmPreferences);
CFBundleTypeIconFile = 'TextMate Settings';
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TextMate command";
CFBundleTypeExtensions = (tmCommand);
CFBundleTypeIconFile = 'TextMate Command';
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TextMate drag command";
CFBundleTypeExtensions = (tmDragCommand);
CFBundleTypeIconFile = 'TextMate Bundle Item';
CFBundleTypeRole = Editor;
},
/* other textmate types */
{ CFBundleTypeName = "TextMate release notes";
CFBundleTypeExtensions = (tmReleaseNotes);
CFBundleTypeIconFile = Text;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TextMate theme";
CFBundleTypeExtensions = (tmTheme, tmtheme);
CFBundleTypeIconFile = 'TextMate Theme';
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "TextMate bundle";
CFBundleTypeExtensions = (tmBundle, tmbundle);
CFBundleTypeIconFile = 'TextMate Bundle';
CFBundleTypeRole = Editor;
LSTypeIsPackage = 1;
},
{ CFBundleTypeName = "TextMate plug-in";
CFBundleTypeExtensions = (tmPlugIn, tmPlugin, tmplugin);
CFBundleTypeIconFile = 'TextMate PlugIn';
CFBundleTypeRole = Editor;
LSTypeIsPackage = 1;
},
/* generic types */
{ CFBundleTypeName = "Text document"; /* generic plain text types */
CFBundleTypeExtensions = (nfo);
CFBundleTypeIconFile = Text;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Source"; /* generic source code types */
CFBundleTypeExtensions = (
g, vss, d, e, gri, inf, mel, build, re,
textmate, fxscript, lgt
);
CFBundleTypeIconFile = Blank;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Document"; /* generic document types */
CFBundleTypeExtensions = (
cfm, cfml, dbm, dbml, dist, dot, ics, ifb, dwt, g,
in, l, m4, mp, mtml, orig, pde,
rej, servlet, s5, tmp, tpl, tt,
xql, yy, "*"
);
CFBundleTypeIconFile = Blank;
CFBundleTypeRole = Editor;
},
{ CFBundleTypeName = "Document";
CFBundleTypeIconFile = GenericDocumentIcon;
CFBundleTypeOSTypes = ("****");
CFBundleTypeRole = Editor;
LSItemContentTypes = ( public.data );
},
{ CFBundleTypeRole = "Editor";
LSItemContentTypes = ( "public.directory", "com.apple.bundle", "com.apple.resolvable" );
},
);
}