DanyW wrote:I have added this... but not sure how it's supposed to work. I typed "<%" in an erb file, and expected it to complete the matching "%>" but it's not happening. What's this snippet supposed to do?
I don't use ruby but your problem may have to do with scope. Press option-shift-p to see the current scope in the status bar. For this snippet to work, the scope of the snippet has to match the scope shown in the status bar. For example, in a ruby file, the scope is source.ruby. So the snippet will trigger. This can be changed as needed.