Home Download Buy Blog Forum Support

Zen Coding ( CSS Snippets )

Re: Zen Coding ( CSS Snippets )

Postby technobulka on Thu Mar 29, 2012 5:47 pm

there is my zen-coding.sublime-settings file from ..\Sublime Text 2\Packages\User\
http://dl.dropbox.com/u/7740288/Other/z ... e-settings
technobulka
 
Posts: 15
Joined: Wed Mar 28, 2012 6:32 pm

Re: Zen Coding ( CSS Snippets )

Postby Igor10k on Thu Mar 29, 2012 7:46 pm

abbreviations don't expand when there's a following right curly bracket

a{c} -> expand in a{canvas}

the cursor is after the "c" and before the "}" of course
Igor10k
 
Posts: 4
Joined: Thu Jan 26, 2012 3:19 pm

Re: Zen Coding ( CSS Snippets )

Postby technobulka on Fri Mar 30, 2012 6:45 am

I think it's bug in css:

Code: Select all
div c|{ } -> div color:#; { }
div c| { } -> div canvas { }
div { c|} -> div { canvas}
div { }c| -> div { }canvas
div, c|{ } -> div, color:#; { }
div, c| { } -> div, canvas { }
div { c| margin:10px; } -> div { color:#; margin:10px; }
div { margin:10px; c|} -> div { margin:10px; canvas}

| - cursor place when I click Tab.

Code: Select all
div {
    c|
}
|
V
Code: Select all
div {
    color:#;
}

If "}" in next line then all currently works.

in html works perfect :)
technobulka
 
Posts: 15
Joined: Wed Mar 28, 2012 6:32 pm

Re: Zen Coding ( CSS Snippets )

Postby technobulka on Tue Apr 03, 2012 7:24 am

No one wants to fix it?
or the way it should be, and all do not care?))
technobulka
 
Posts: 15
Joined: Wed Mar 28, 2012 6:32 pm

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Tue Apr 03, 2012 9:27 am

i doubt it's `the way it should be`

not exactly sure at a glance what your issue is ...

but i know there was a bug in the css grammar ...

plan on giving Zen some love in a few weeks when my current contract ends ...
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 Fed03 on Tue Apr 03, 2012 5:53 pm

castles_made_of_sand wrote:i doubt it's `the way it should be`

not exactly sure at a glance what your issue is ...

but i know there was a bug in the css grammar ...

plan on giving Zen some love in a few weeks when my current contract ends ...


i'm sorry....
Fed03
 
Posts: 79
Joined: Sun Oct 16, 2011 6:38 pm

Re: Zen Coding ( CSS Snippets )

Postby C0D312 on Tue Apr 03, 2012 9:11 pm

plan on giving Zen some love in a few weeks when my current contract ends ...

Yay!
C0D312
 
Posts: 1063
Joined: Sun Jul 10, 2011 3:23 am

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Tue Apr 03, 2012 11:59 pm

Fed03 wrote:i'm sorry....


What ? :)
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 technobulka on Wed Apr 04, 2012 9:45 am

Sometimes watching a bug like this (| - cursor pos):
Code: Select all
<div>
    ul>li|
</div>
<div></div>
Press Tab ->
Code: Select all
<div>
    ul>li
</div>
<div>|</div>
back cursor, again press Tab ->
Code: Select all
<div>
    ul>li
</div>
<div></div>|
again back cursor and press Tab ->
Code: Select all
<div>
    <ul>
        <li>|</li>
    </ul>
</div>
<div></div>
technobulka
 
Posts: 15
Joined: Wed Mar 28, 2012 6:32 pm

Re: Zen Coding ( CSS Snippets )

Postby Fed03 on Wed Apr 04, 2012 10:03 am

castles_made_of_sand wrote:
Fed03 wrote:i'm sorry....


What ? :)


your job!
or misunderstood? :mrgreen:
Fed03
 
Posts: 79
Joined: Sun Oct 16, 2011 6:38 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 29 guests