Sublime Forum

Zen Coding ( CSS Snippets )

#362

I think itā€™s bug in css:

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.

div { c| } |
V

div { color:#; }
If ā€œ}ā€ in next line then all currently works.

in html works perfect :smile:

0 Likes

#363

No one wants to fix it?
or the way it should be, and all do not care?))

0 Likes

#364

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 ā€¦

0 Likes

#365

[quote=ā€œcastles_made_of_sandā€]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 ā€¦[/quote]

iā€™m sorryā€¦

0 Likes

#366

Yay!

0 Likes

#367

What ? :smile:

0 Likes

#368

Sometimes watching a bug like this (| - cursor pos):

[code]


ul>li|
[/code]Press Tab -> [code]
ul>li
|
[/code]back cursor, again press Tab -> [code]
ul>li
|[/code]again back cursor and press Tab -> [code]
  • |
[/code]
0 Likes

#369

[quote=ā€œcastles_made_of_sandā€]

What ? :smile:[/quote]

your job!
or misunderstood? :mrgreen:

0 Likes

#370

[quote=ā€œFed03ā€]
your job!
or misunderstood? :mrgreen:[/quote]

I donā€™t understand :smile:

But I sorry I have job too :smile: lol

If you (or anyone) wants to help with Zen that would be great. Iā€™m afraid Iā€™m busy for the next few weeks though.

0 Likes

#371

[quote=ā€œcastles_made_of_sandā€]

[quote=ā€œFed03ā€]
your job!
or misunderstood? :mrgreen:[/quote]

I donā€™t understand :smile:

But I sorry I have job too :smile: lol

If you (or anyone) wants to help with Zen that would be great. Iā€™m afraid Iā€™m busy for the next few weeks though.[/quote]

arent you referring to a job contract XD
anyway i can testfor you sadly not develop

0 Likes

#372

If you tell me, where this bags may be located, I can try fix it))

0 Likes

#373

I hope you donā€™t forget about this topic.
I still believe in your fix))

0 Likes

#374

Is it me or has the most recent nightly build broken/overridden parts of the plugin? particularly when expanding CSS shortcuts. Anyone else notice this?

0 Likes

#375

same problemā€¦

bg+

expand to

bg+counter-reset

but must to

background:url('../img/') 0 0 no-repeat; 

and similar.

0 Likes

#376

@technobulka looks like it was fixed in latest version - update from package manager.

0 Likes

#377

Is it just me or ā€œdisable_completionsā€: true is ignored?
All my CSS snippets are now ignored :frowning:

0 Likes

#378

@iamntz

damn, will take a look in the morning

0 Likes

#379

@castles_made_of_sand can you please consider changing following thing?

In default.sublime-keymap:
For "action": "encode_decode_base64" if operand will be set to "operand": "text.html, source.css, source.scss" base encoding will work in css and scss as well, also I think actual encode_to_base64 function is a little bit wrong, so in \Packages\ZenCoding\zencoding\actions\basic.py line ~ 773 if you change editor.replace_content('$0' + b64, pos, pos + len(img_path)) to editor.replace_content(b64, pos, pos + len(img_path)) it will work nicely.

Also I confirm that Iā€™m having issues with snippets as well. Another bug report is that when I call ā€˜wrap zen as you typeā€™ on couple of selected lines or on multiple selection - lines disappear. However it works for just one line. Alt+shift+w also works.

Thanks for your work.

0 Likes

#380

Another bug report is that when I call ā€˜wrap zen as you typeā€™ on couple of selected lines or on multiple selection

My time for this is pretty limited so Iā€™d pretty please love you long time if you gave me exact repros when reporting bugs

Iā€™ll take your word the patches work nicely :smile:

For better or worse, I apply every pull request thatā€™s sent my way.

There just hasnā€™t been many :confused: In the future if you have patches feel free to send one via bitbucket.

I understand every man and his dog uses git/github so Iā€™ll migrate this to Github to make it a bit friendlier

Anyway, Iā€™ll take a quick look now at all the stuff you mentioned.

0 Likes

#381

Alright, a fix for the ZenAsYouType with non empty selections regression, lemme know how it goes

0 Likes