Sublime Forum

Zen Coding ( CSS Snippets )

#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

#255

Will you see it through any transition to Github?

Added you to the SublimeText Github organisation. You can now add the repo to git and push it there if you want.

0 Likes

#256

Hi, i reported this bug month ago. Is there any chance that somebody fix this? I really love working with zen coding, but this bug complicates everything. More info in page 22.

Thanks

0 Likes

#257

I plan to have a look on the weekend @ some outstanding issues as a favour to Jon (api request brownie points)

Someone who uses this really needs to maintain it though.

0 Likes

#258

You can disable the completions in the meantime time via one of the settings in ZenCoding/zen-coding.sublime-settings

0 Likes

#259

@s7anley

Pushed a fix for ya. Not sure but there’s either a bug in the view.match_selector api or my understanding of how it works …

0 Likes

#260

[quote=“castles_made_of_sand”]@s7anley

Pushed a fix for ya. Not sure but there’s either a bug in the view.match_selector api or my understanding of how it works …[/quote]

How does one update the package? I go to Packages > Upgrade Package but I only saw an update for the Soda Theme – nothing for Zen.

0 Likes