Home Download Buy Blog Forum Support

Zen Coding ( CSS Snippets )

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Wed Jul 11, 2012 12:15 pm

>>> 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 :)

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

There just hasn't been many :/ 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.
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 sublimator on Wed Jul 11, 2012 1:22 pm

Alright, a fix for the ZenAsYouType with non empty selections regression, lemme know how it goes
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 sublimator on Wed Jul 11, 2012 2:04 pm

New home for ZenCoding at github:

https://github.com/sublimator/ZenCoding
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 aworo on Fri Jul 13, 2012 9:48 am

I cannot find Zen Coding in the repository via Package Control.

Why is that and how do I install Zen Coding now?

Thanks!
aworo
 
Posts: 12
Joined: Fri Jul 13, 2012 9:46 am

Re: Zen Coding ( CSS Snippets )

Postby ming on Sat Jul 14, 2012 1:07 am

aworo wrote:I cannot find Zen Coding in the repository via Package Control.

Why is that and how do I install Zen Coding now?

Thanks!


Hi, I can not find zencoding from package control either. But I did figure out how to install it manually. What you need to do is:
1) Go to the packages directory. In Mac, it is: ~/Library/Application Support/Sublime Text 2/Packages . If you are using Windows, you should be able to figure that out yourself.
2) git clone git://github.com/sublimator/ZenCoding.git into the package directory.
that's it. Restart your sbulime text and zencoding should be working now.
ming
 
Posts: 1
Joined: Sat Jul 14, 2012 1:03 am

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Sat Jul 14, 2012 3:44 am

It's in the process of getting added to package control

All y'all benefiting from package control should send a paypal to will@wbond.net for his work on that :)
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 6:52 am

@Castle: any chance of fixing the css thing? Even if i have "disable_completions": true set, my completion file is completely ignored :(

Am i doing something wrong?
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Sat Jul 14, 2012 7:55 am

>>> Even if i have "disable_completions": true set, my completion file is completely ignored

You positive ZenCoding is the cause? Disable completions is working for me.

You've tried moving the ZenCoding package out temporarily, or using `ignored_packages`, or otherwise disabling to see if it's the cause?

Can you enter the following in the console?
Code: Select all
import sublime_plugin; sublime_plugin.all_callbacks['on_query_completions']


What's the output?

Do you have any css related plugins that are making use of `sublime.INHIBIT_EXPLICIT_COMPLETIONS` ? (You could grep the constant name there)
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 9:27 am

They say a picture make more than a thousand of words, so there are few millions of words http://screencast.com/t/ERkmcT3IP :)

Long story short, yeah, i'm pretty sure ZenCoding is the culprit (anyhow, if there is any way of disabling a package for a certain language, like css, that's enough for me because i'm only using zen for html )
iamntz
 
Posts: 915
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Zen Coding ( CSS Snippets )

Postby sublimator on Sat Jul 14, 2012 9:57 am

Firstly, I'm assuming you have the latest git version

You didn't show any before/after of `disable_completions`

Do you have a User/zen-codings.sublime-settings?

You've edited the correct one? I'm not really sure what this could be.

The `disable_completions` check is pretty much first thing in the `on_query_completions` method that Zen hooks into.
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

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 21 guests