Sublime Forum

Modification of Ruby tmPreferences

#1

I am using ST3.

I would like to change some ruby snippets: e.g. have req expand to require ‘xxx’ rather than require “xxx” (single quote preferred).

I would also like to add some things to be highlighted: e.g. require_relative (just as require is syntax highlighted)

I am not sure of the preferred approach. I note that the Ruby stuff is in the ~/Library/Application Support/Sublime Text 3/Cache/Ruby directory. Do I make changes there? It appears to be the wrong place, as it might be overwritten at some point. Am I able to override entries in this directory by cherry picking what I want changed and putting it in my User directory or do I have to extract the entire ruby cache to the User directory?

Any guidance would be greatly appreciated

0 Likes