This is a problem that made me lose hair. I really don’t have the best solution to this problem and would love someone to offer a better one but I need to get stuff done and I don’t want to fall down a ST2 wormhole where I’m lost for days trying to get something simple to work. I’ve learned that it’s best just to find a work-around because it saves time and sanity.
So, none of my html snippets are working. Not sure why. I have one snippet that fills in the starting code for a twitter bootstrap page. It works great on my Mac but not on my PC. What gives!
I figured it was some plugin I added that was causing a conflict so I used this blog post which saved me from previous keyboard shortcut breakings.
So using the info from that post with the ST2 console let’s me know that expand_abbreviation_by_tab is firing instead of my snippet when I hit the tab trigger of ‘tbs‘ from my snippet. Instead it just does this:
Obviously, this is not what I want.
Here’s my Quick Fix
I open Preferences > Settings – User
and I add this:
Note: remember that this is a JSON object so each item in it needs to be separated with a comma, except the last one.
Now I type ‘tbs‘ just like I did before but now instead of hitting tab, I hit ctrl + spacebar and I get a dropdown where I manually choose my snippet.
Definitely not the best solution but one that I can use and continue working until a better solution comes around.