开发者

syntax highlighting for .ru files in textmate

I am using text mate on the mac whilst learning Ruby on R开发者_开发技巧ails. However the backup files (.ru) don't have any syntax highlighting and I can't find any bundles for these for text mate. Does anyone have any ideas?


Just select Ruby from the bottom bar select menu or hit ⌃⌥⇧R (Control + Option + Shift + R):

syntax highlighting for .ru files in textmate


And for saving this preference permanently, go to Bundles -> Bundle Editor -> Edit Languages ... -> Ruby and here search for an Array called fileTypes and add 'ru' to it:

syntax highlighting for .ru files in textmate

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜