I would like TextMate to recognize that RDF files are XML and highlight them as such but I can't seem to find a way to do this through the UI. Is there a way to add file extension/type associations?
|
feedback
|
|
In the menu, go to Bundles -> Bundle Editor -> Edit Languages -> XML -> XML. (That is, in the section XML, you have both XML and XSL.) Then in the grammar you will see in the right pane, add RDF files to the
{ scopeName = 'text.xml';
fileTypes = ( 'xml', 'tld', 'jsp', 'pt', 'cpt', 'dtml', 'rss', 'opml' );
See this link for more gory details on filetype associations. | ||||
|
feedback
|