Sublime Forum

Syntax highlighting and snippet use

#1

Hi there,

I have been using Sublime text 2 for a bit now and I’m finding it quite enjoyable, however I am finding that I cannot access some of the snippets I have installed in certain files unless I physically go to the drop down list at the bottom of the screen and change it to the snippet bundle I wish to use, this however grows to be a pain when you are working in multiple files of the same type in this case rspec files “filname_spec.rb” I was wondering if there is a way of setting sublime up so that any file with “_spec.rb” on the end would automatically open with the correct snippets library already available?

Thanks in advance

StealthyGecko

0 Likes