Home Download Buy Blog Forum Support

tab_completion overwrites snippet

tab_completion overwrites snippet

Postby allaire on Tue Apr 12, 2011 4:09 am

Hi guys, I enabled tab_completion, but is there any way to stop it from overwriting some snippets?
Exemple, there is a snippet for "!" in css that translate to "!important", but with tab_completion: true, it keeps auto-completing to "!bottom", any ideas?

Also, is there an easy way to know the trigger key for a snippet? Like "Lorem" adds a paragraph of lorem ipsum, but it's not really clear that I have to type "Lorem" to do so, maybe add it on the right of the snippet name in the menu, or am I missing something?

thanks all!
allaire
 
Posts: 15
Joined: Mon Apr 11, 2011 6:44 pm

Re: tab_completion overwrites snippet

Postby guillermooo on Tue Apr 12, 2011 5:40 am

allaire wrote:Hi guys, I enabled tab_completion, but is there any way to stop it from overwriting some snippets?
Exemple, there is a snippet for "!" in css that translate to "!important", but with tab_completion: true, it keeps auto-completing to "!bottom", any ideas?


What version are you using? It works as expected here. However, I think you've found a bug, because Sublime doesn't seem to detect "!" as a prefix when you press "Ctrl+spacebar". You should see the final order of priority for insertion there, and this snippet should appear as "! : <name>", but it doesn't... If you change the tab trigger for the snippet to "imp", for example, it does appear as it should if you press "Ctrl+spacebar" after "i".
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am

Re: tab_completion overwrites snippet

Postby allaire on Tue Apr 12, 2011 1:21 pm

I'm using 2054 on Max OSX, which version are you using?

Thanks for your help, it might be a little bug, this is still an Alpha release afterall! Any places I can submit it?
allaire
 
Posts: 15
Joined: Mon Apr 11, 2011 6:44 pm

Re: tab_completion overwrites snippet

Postby guillermooo on Tue Apr 12, 2011 1:27 pm

Same one too.

People usually report bugs in the forums, you can try too.
guillermooo
 
Posts: 728
Joined: Thu Jul 23, 2009 9:06 am


Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 26 guests