Sublime Forum

Zen Coding ( CSS Snippets )

#235

Stops working in 2160.

0 Likes

#236

Anyone know how to get this working with stylus files? .styl

Its similar to SCSS, but a whitespace based language.

Basically I’m looking for the properties to evaluate. I can’t seem to figure out where to add the Stylus filetype. If i switch it to css it works well.

Best,
Bob

0 Likes

#237

Hi, I am unable to get zencoding to work using Tab. I read everything in this thread, I reinstalled it twice but to no avail.

Using latest version 2610.

0 Likes

#238

[quote=“Trebby”]Hi, I am unable to get zencoding to work using Tab. I read everything in this thread, I reinstalled it twice but to no avail.

Using latest version 2610.[/quote]

try using a “>” after your abbreviation

this:

html:5>div#page>(div#header>ul#nav>li*4>a)+(div#page>(h1>span)+p*2)+div#footer

will become:

html:5>div#page>(div#header>ul#nav>li*4>a)+(div#page>(h1>span)+p*2)+div#footer>

it’s just a workaround though. I hope it will get a fix.

0 Likes

#239

It works! Thanks a lot for the quick response!

0 Likes

#240

Unfortunately ZenCoding currently has no maintainer. I host a copy of it on my bitbucket account so people can continue to install it, however I don’t personally use it, and don’t have time to maintain it in addition to my other plugins.

0 Likes

#241

Looks like it’s working normally again in 2162.

0 Likes

#242

I hope someone picks up the maintenance or I’ll have to switch off of ST2. I rely on it WAY too much.

0 Likes

#243

I have no idea if this has been addressed before but I would really like to disable zen when entering in snippets. If I have a snippet for an html anchor tag, I sometimes enter a ‘#’ for the href value but if I then tab to go to the next part of the snippet, a new div is inserted inside the href quotes. Does that make sense? To clarify, this is the before & after tab:

Before:<a href="#" title=""></a>

After:<a href="<div id=""></div>" title=""></a>

Any ideas?

0 Likes

#244

I’ll take a quick look at this … I just tried a repro on your issue and noticed a few others introduced by the autocomplete changes …

0 Likes

#245

@MrMartineau

I had a look and fixed up a bunch of stuff - alot of the on_query_completions stuff was in various degrees of broken due to api changes …

The ability to complete with prefixes with non word characters seems to have regressed again.

I made the fixes on 2162 and all was working fine, but 2163 seems to have broken it.

Fixed the issue you were having with the “#”

0 Likes

#246

Sorry to repeat my previous question, but hoping to get it solved.

Anyone know how to get this working with stylus files? .styl

Its similar to SCSS, but a whitespace based language.

Basically I’m looking for the properties to evaluate. I can’t seem to figure out where to add the Stylus filetype. If i switch it to css it works well.

Best,
Bob

0 Likes

#247

[quote=“bobspryn”] If i switch it to css it works well.
[/quote]

Can’t you choose “Open all with current extension as…” from the flyout menu on the right of the status bar?

0 Likes

#248

[quote=“castles_made_of_sand”]@MrMartineau

I had a look and fixed up a bunch of stuff - alot of the on_query_completions stuff was in various degrees of broken due to api changes …

The ability to complete with prefixes with non word characters seems to have regressed again.

I made the fixes on 2162 and all was working fine, but 2163 seems to have broken it.

Fixed the issue you were having with the “#”[/quote]

How does one update the package?

0 Likes

#249

That doesn’t give the desired result. I lose all the stylus highlighting, etc.

0 Likes

#250

How does one update the package?

I used to be the (reluctant) maintainer/publisher.

I’ll see if I can push Zen to the SublimeText organisation on Github.

I’m currently in middle of phone interview so it may be a while though.

0 Likes

#251

[quote=“castles_made_of_sand”]
I used to be the (reluctant) maintainer/publisher.[/quote]

I’m very confused now. Are you sublimator?

0 Likes

#252

Roses are red, violets are blue, I’m a schizophrenic … and so am I …

0 Likes

#253

Changes are pushed to here: bitbucket.org/sublimator/sublime-2-zencoding/

Hopefully someone can take care of moving this to the SublimeText organisation on Github. It might get more love there.

I’m not particularly keen on maintaining it personally:

  1. I don’t do enough front end stuff to have a good feel for the nuances (or pick up bugs like the one MrMartineau reported)

  2. Being as I don’t use it much myself, it’s a drain on my time I’d rather spend elsewhere.

  3. I once asked for donations to channel into a fund for my sisters orphaned boy (feeling kind of lame doing so seeing as I didn’t actually write Zen myself). Only one person donated so I hardly feel any real sense of obligation (though I do start to feel guilty as the issue tracker starts to fill up)

  4. I’m not really motivated by “thanks man!”, “this rox” etc.

I apologise for the orphaned project but there’s a reason it got published:

I was away travelling and got myself in a sticky situation with a crazy girl and an expired visa. I contacted Jon to see if he had any work and luckily he advanced me $ to port Zen from ST1 (and port from ST1, or write new, Default plugins IIRC now)

I was young and I needed the money :smile:

0 Likes

#254

So are you abandoning this then? Will you see it through any transition to Github?

0 Likes