Sublime Forum

CSS: Snippet doesn't override autocomplete function

#1

<snippet> <content><![CDATA[font: 12px/18px Arial, Verdana, Tahoma, sans-serif;]]></content> <tabTrigger>;font</tabTrigger> <scope></scope> </snippet>

Outside of any css block (.class { here }) i can use it but once i’m inside the autocomplete feature override my snippet and i can’t get it to work

I’ve tried all the combinations for “tab_completion”, “auto_complete”, “auto_complete_with_fields”, etc and nothing works. The problem is i still need to use CSS autocomplete, i just want to override it once it detects my snippet (;font).

Only way i could make it work is by setting “auto_complete_delay” to a very high value so it triggers the snippet before the autocomplete.

Any ideas?
Thanks

0 Likes