Sublime Forum

CSS tab completion weirdness

#1

Hello,
I recently discovered something strange with some of my tab completions. I set up a tab trigger for “fs” that will write out “font-size: ;” as you can see in the screenshot below. But, when I click on the tab, I get “font-style” instead. I don’t have any “3rd party” CSS packages installed. Does anyone have any idea on what’s going on?

Here is my snippet:

<snippet>
    <content><![CDATA[font-size: ${1:12}px;$0]]></content>
    <tabTrigger>fs</tabTrigger>
    <scope>source.css</scope>
    <description>font-size: size</description>
</snippet>

Screenshot of what’s happening

0 Likes

#2

For anyone interested, I found the solution. I have the Zencoding package installed, which has it’s own set of CSS completions found in “Packages/ZenCoding/zencoding/zen_settings.py” Comment out the offending lines by adding a “#” in front.

0 Likes