Home Download Buy Blog Forum Support

< tabTrigger not working

< tabTrigger not working

Postby hbbio on Sun Oct 07, 2012 3:01 am

I'm working on https://github.com/MLstate/OpaSublimeText and would like to have a tag snippet.

Problem is, the tabTrigger with < is not working for instance with:

Other snippets are fine, as classical alphanumerical tabTriggers.
Any idea?
Creator of http://opa.io
Posts: 3
Joined: Fri Mar 23, 2012 3:16 pm

Re: &lt; tabTrigger not working

Postby agibsonsw on Sun Oct 07, 2012 6:32 pm

You probably need to copy and play with the setting

Code: Select all
    // Additional situations to trigger auto complete
    "auto_complete_triggers": [ {"selector": "text.html", "characters": "<"} ],

and possibly word_separators. You might need to account for the semi-colon ; as well, or perhaps drop it from the trigger pro-tem.
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm

Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 7 guests