Alex Panait
Alex Panait

Reputation: 43

Sublime Text 2 Zen Coding CSS Abbreviation

I'm having some problems with Zen Coding CSS in Sublime Text 2. I've installed Zen Coding on Sublime Text 2 via Package Control and I'm trying to use css abbreviations.

If I write "h" + Tab in a .html file, between () I get a "height: ;" as I was expected but if I do the same thing in a .css file I get "h1" which is not what I expected from Zen Coding.

The same thing happens with all CSS abbreviations. W + TAB, BG + TAB, none of those work properly.

Any help will be much appreciated.

Thanks

Upvotes: 2

Views: 1211

Answers (1)

zevstatiev
zevstatiev

Reputation: 113

Sublime Text 2 uses TextMate snippets, so you could use this : http://code.google.com/p/zen-coding/downloads/detail?name=TextMate.Zen.CSS.1.3.1.zip

Just extract the .tmbundle file and move it to your packages folder.

Upvotes: 1

Related Questions