Home Download Buy Blog Forum Support

CSS tab completion weirdness

CSS tab completion weirdness

Postby ninjaroll on Fri Jul 27, 2012 10:13 pm

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:
Code: Select all
<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
Image
ninjaroll
 
Posts: 31
Joined: Tue Jan 03, 2012 7:10 pm

Re: CSS tab completion weirdness

Postby ninjaroll on Mon Jul 30, 2012 8:06 am

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.
ninjaroll
 
Posts: 31
Joined: Tue Jan 03, 2012 7:10 pm


Return to Technical Support

Who is online

Users browsing this forum: Google [Bot], jasonlav, Yahoo [Bot] and 19 guests