Has anyone figured out a way to have Xcode4 use syntax coloring 开发者_运维技巧for Ruby on a .rake file?
I'm not sure if this will stick as automatic coloring, but to color rake files as ruby, open the rake file then open File attributes inspector (Cmd+Alt+1). In the "File type" drop down choose "Ruby script".
精彩评论