Home Download Buy Blog Forum Support

How to set command's priority over snippet's

How to set command's priority over snippet's

Postby kizu on Wed Dec 07, 2011 11:15 am

I want to have a command that is keymapped to ["tab"], and that can be triggered in some coditions, set in context. But if there is a snippet, that have a tabTrigger and the cursor is after it, the snippet wins the war for priority and I can't find a way to tell Sublime to use my command instead.

If there any way or, at least, a hack to set the priority to the commands?
kizu
 
Posts: 1
Joined: Wed Dec 07, 2011 11:06 am

Re: How to set command's priority over snippet's

Postby GreLI on Thu Aug 30, 2012 3:08 pm

And I have an opposite question: how to make Snippet work even with plugin that handles tab?
GreLI
 
Posts: 7
Joined: Mon Jan 23, 2012 6:00 pm

Re: How to set command's priority over snippet's

Postby ReinierK on Thu Aug 30, 2012 7:08 pm

I don't think you can alter the priority in any way.
Snippets simply win ;-)
ReinierK
 
Posts: 23
Joined: Fri Aug 24, 2012 8:27 pm


Return to Plugin Development

Who is online

Users browsing this forum: No registered users and 7 guests

cron