Home Download Buy Blog Forum Support

Zen Coding ( CSS Snippets )

Re: Zen Coding ( CSS Snippets )

Postby iamntz on Sat Jul 14, 2012 10:11 am

Indeed, I do have the latest github version.
My User/zen-coding.sublime-setings.
iamntz
 
Posts: 896
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Sat Jul 14, 2012 10:15 am

Sorry, not on my dev computer atm, sitting down the pub getting a pie :)

Look here: https://github.com/sublimator/ZenCoding ... in.py#L310

Chuck in some print statements around there in your local equivalent and try and debug it
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Re: Zen Coding ( CSS Snippets )

Postby iamntz on Sat Jul 14, 2012 10:19 am

Ok, that's a good start. I'll trying later and i'll post if i'll find a solution.

Thanks.

Enjoy your pie! :ugeek:
iamntz
 
Posts: 896
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Zen Coding ( CSS Snippets )

Postby iamntz on Sun Jul 15, 2012 5:41 am

Ok, so from the python code i understand exactly nothing. I'm that good! :mrgreen:
But, i figured out another way of fixing stuff: on zen-coding.sublime-settings i did this :
Code: Select all
    "my_zen_settings" : {
        "css": {
            "filters": "foo"
        }
    }


I assumed that filters is some kind of scope. So... Right now just works, which is enough for me :)

Thanks!
iamntz
 
Posts: 896
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Zen Coding ( CSS Snippets )

Postby Igor10k on Sat Jul 21, 2012 6:30 pm

iamntz,
If you just wanted to remove the space after the colon, you should've just removed the "fc" filter. These filters are described in the zen coding documentation.
http://code.google.com/p/zen-coding/wiki/Filters

castles_made_of_sand,
Thanks for the update, now single-line css coding works fine.
The thing that is wrong now is the expansion of the abbreviations followed by the plus, like "bd+". The caret after the expansion appears after semicolon instead of highlighting portions of the expansion on each "tab" pressing.

E.g. "bd+" should create "border:1px solid #000;" and highlight "1px" allowing you to change it. Pressing "tab" should move the selection to "solid" and then to "#000". Something like that.
Igor10k
 
Posts: 4
Joined: Thu Jan 26, 2012 3:19 pm

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Sun Jul 22, 2012 1:55 am

@Igor10k

Looks like it's inserting what is declared

You might be interested in trialling a new version of ZenCoding for Sublime from Zen's original creator. He's looking for people to help him spin the tyres so to speak.

When it's ready, it will be the version available on Package Control. I don't see this version getting any more updates/fixes. EOL.
It is better to remain silent and be thought a fool, than to speak out and remove all doubt
sublimator
 
Posts: 649
Joined: Thu Mar 20, 2008 5:41 am

Previous

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], nateritter and 13 guests