Adding file types to packages


So I’m trying to add .json_builder to the Ruby on Rails filetypes. I see that it has the Grammars under the Language Ruby on Rails package, but I’m unable to add new ones.

Anyone know how?


Do you mean you want to add “json_builder” to the list of File Types for the “source.ruby.rails” Scope?

I hacked together a way to do that from within the (2650#4); but, I’m not sure if that’s exactly what you want to do.


Seems that someone has recently made a package that will allow me to do this. I haven’t tried yet since I’m not on my Mac, but I will once I get on it.

File Types


Yeah, I made that :wink: Does it work for what you are trying to do?