Any documentation on how to use this?
Zen Coding ( CSS Snippets )
See the zen coding google page… then on sublime just press ctrl+alt+enter and enter ur zen coding pattern
[quote=“EJ12N”]
See the zen coding google page… then on sublime just press ctrl+alt+enter and enter ur zen coding pattern [/quote]
yup tried that and every combination of it and nothing happens, it also seems to have broken sublimes built in snippet completion.
I was expecting to type in html:xt press tab etc. I take it that doesn’t happen?
I’ve opened the ouput panel and when I press your key combination I get:
>>>
File "<string>", line 0
^
SyntaxError: unexpected EOF while parsing
[quote=“sublimator”]UPDATE
I just pushed version 1.1 of Zen Coding to BitBucket (up again, hurrah).
[/quote]
Just installed new beta 20091002 and Zen Coding 1.1. Zen Coding now not working
Oh, files from package was not installed completely. I extract files from package manually and all works great!
Works for me… do you have any ideas which files were missing? Did you have an earlier version installed before installing 1.1?
After installing Zen Coding package i have this files in zen coding package folder of sublime text:
dynamicsnippets.py
dynamicsnippets.pyc
initzen.py
initzen.pyc
zc.py
zc.pyc
And Zen Coding not working.
After manual extraction from package i have this:
zencoding [folder]
Default.sublime-keymap
dynamicsnippets.py
dynamicsnippets.pyc
initzen.py
initzen.pyc
README.txt
zc.py
zc.pyc
And all works.
http://forums.disenteria.ru/style_emoticons/default/icon_smile_blush.gif http://forums.disenteria.ru/style_emoticons/default/mol.gif
This is a truly awesome plug-in!
I have a few bug reports.
- If I enter something like this…
select>option#item-$*3
The output select list is all on one line. Which isn’t that pretty.
- On two separate installs of Sublime 1.2.2 (with only poweruser added) I get the following problem when tabbing a new CSS document. Unless i press backspace after each tab the tabs naturally fan out. Bit annoying.
http://dl.getdropbox.com/u/497583/zen-tabs.png
- Most of the doctypes have xml:lang=“ru” in them. Perhaps it would be best to set this to english
Great plugin btw!
Not sure what that means or where you set it But whatever the default for Sublime is I guess. I just type things like “pos:a” hit tab.
EDIT: It only seems to happen on new CSS properties added to new selectors though, if I add properties to an existing selector from an old document the tabbing works fine.
Ok setting translateTabsToSpace true or false made no difference but removing PowerUser made it work.
this is incredible.
but i’m having a hell of a time figuring out how to bring up the css selector. what is the key for that?
thanks.
Clean installation of Windows 7, Sublime 1.2.2 download and installed normally, I got the ZenCoding zip, extracted it, double-clicked it, got that package-installation-full-of-win message, ran Sublime and… nothing works at all.
I mean, CTRL+ALT+ENTER, or F1, nothing happens, just the normal every-day sublime editor.
I want zen coding…
This may be a daft question, but is the file type (you can check in View -> Apply Syntax Highlighting) set to HTML or CSS?
I don’t know if it’s relevant, but I had an issue installing from the zip myself, in that the Packages\ZenCoding directory itself had nothing in it but another directory that contained all the package contents. Once I moved everything under that directory one level up the hierarchy (so I had some .py and .pyc etc. files in Packages\Zencoding) it fixed my issue. Sorry if that’s a bit unclear, it may be a red herring anyway.