Sublime Forum

Zencoding: suddenly no expansions

#1

Hi all.

I started using ST about a month ago. Part of the kit that I installed was the zencoding plugin.

All of a sudden, I’m not getting any expansions when I hit tab.

I’m really not sure if I’ve installed anything new recently that might have interefered with it. I don’t think I’ve installed anything since I installed ST initially.

How can I troubleshoot and get rid of this problem?

0 Likes

#2

The first two things I’d try (rather silly, but just to make sure): Make sure you’re editing an HTML file with the syntax set to HTML (bottom-right corner) and that entering koans (Alt+Ctrl+Enter) works. If this works then that means that you have ZenCoding installed and trying to use it in the correct situation, but something is interfering. Chances are, another package is gobbling the tab. (If entering koans does not work, disregard the rest of this post. Try removing and re-installing ZenCoding.)

I would then work in the opposite direction. Backing up my configuration, doing a revert (sublimetext.com/docs/2/revert.html) and installing nothing but Package Control and ZenCoding. If this works, then the problem is somewhere between a default installation with ZenCoding and your current setup.

Re-install your present configuration and use Package Control to disable packages (especially one that bind the tab key) tat you have recently installed to see if you can fix the problem. You can also find "tab" in *.sublime-keymap in your Packages folder to try and spot packages whose bindings may be interfering.

Some combination of the above should work – or at least exhaust what isn’t at fault :confused:

Hope this helps,
Alex

0 Likes

#3

I didn’t know about koans. That’s a pretty cool feature.

I spent a few hours exhausting all the possibilites, but couldn’t find what was interefering. I ended up removing all configs and packages, and and re-installing ST2.

Now I’m stuck with a new problem: I can’t get tab expansions of snippets that I create. I’ll work on that for a while, and if I can’t find out what’s going on, I’ll ask about it in another thread.

0 Likes