Oh, files from package was not installed completely. I extract files from package manually and all works great!
Zen Coding ( CSS Snippets )
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.
[quote=âprotoplasmâ]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.[/quote]
Thatâs it!!
Thank you very much, you made my day! xD
Just moved the content of zencoding/ (some .pyâs like you said) one level up (the ZenCoding package root) and bingo! It works!
Best regards dudes, cya!
The html 5 snippet is still in Russian.
Also At the moment C TAB outputs color:#000; and jumps you to the next line. I really like to enter a hex after the hash before going to the next line (as iâm sure most people would). Same with âbgcâ and a few other commands.
[quote=âhaggenâ]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⌠[/quote]
There are some better examples/documentation you can copy from here: Iâve hotlinked the animations that explain it here too.
code.google.com/p/zen-coding/wik ⌠enCodingEn
F1 will only work for CSS files.
Only works for HTML files (for me anyway).
**Make sure you are setting the DOCUMENT TYPE properly. Otherwise it will NOT work no matter what you do. **
- In the very bottom right hand corner of the editor window. Where it says âPlain text | Windowsâ , change plain text to HTML. For CSS, change it to CSS).
- Or you can just make a new file called âblah.htmlâ with nothing in there, then type html:4t then hit TAB.
- This will work the same with .CSS files too.
- Thereâs a list of all the shortcuts and what they expand to on the google code site.
Donât worry, youâre not the only confused person around here The documentation is a mess, but once you get your head around it, youâll be sweet.
Hope this helps.
HTML - note the HTML in the bottom right hand corner.
http://blogdata.akalias.net/zencoding-nodeselect.gif
CSS - note the CSS in bottom right.
http://blogdata.akalias.net/zencoding-mnemonic.gif
<binding key="ctrl+alt+enter" command="zenAsYouType css">
<context name="selector" value="source.css"/>
</binding>
i can get zen coding dialog to open up in my status bar via ctrl+alt+enter, it says âenter koanâ, this works awesome.
but in this video below there is a dialog that opens up in the same place that says âcss selectorâ, how do i open that up?
http://blogdata.akalias.net/zencoding-nodeselect.gif
thanks,
sean