Yup, Zen (and possibly just good ol’ ST2 in some contexts) has issues with PHP’s $ syntax sometimes, usually getting rid of the $ in the text or sometimes the whole variable, turning $this->property
into ->property
It can be quite annoying actually, but I’ve kinda learnt to live with it as I’d expect the fix could be a very annoying one for you plugin devs!
Zen Coding ( CSS Snippets )
Is it the latest version of Zen or Sublime that has stop press . or # when inside a tag inserting class="" or id=""?
CTRL + ALT + ENTER are great tool, but on GIF video i can see they use a CSS SELECTOR,
What is the key binding for that?
Please help me!
where should I run this command $cd $PATH… etc?
should I innstall subversion system to do that?
sublimator, i want to add a href="" property when i press ~(tilde) key, how can i add that to zen-coding?
I am searching for hours but…
Is it possible to expand all abreviations (html and css) regardless the file you are in?
for example i want to expand div.title in a php file in an echo statement
or bd+ when writing style-“bd+ TAB”
is it possible and how?
Hi all,
I can not use tab to expand the css abbreviation in css, I don’t know why, but HTML is OK.
when I type fl
then hit Tab, and it become fieldset
, I think it should be float
.
How can I fixed it?
and How to change the hotkey?
thank you.
I am a new Sublimer. Absolutely Zen Coding here is so cool and I like it very much:D
[size=85]how can i install this on windows 7
[/size]
- installed with Package Control.
I’ve been using Zen Coding with Notepad++ and now trying it with Sublime Text 2 Beta build 2126. I installed Zen Coding, and then Compass, which may have also added Zen Coding.
There is one option I’m having trouble with–Wrap with abbreviation. This is shown as wrap_zen_as_you_type in your binding list, with two possible ways to do it. What I find is that this opens a ‘koan’ window, and anything I type in there replaces the material I wanted to wrap. This command is highly useful to me, as I constantly change my mind about how a site should look, and so need to be able to quickly change html. Any suggestions on what is wrong?
[quote=“sublimator”]
[quote=“whololo”]Hi
Any ideas on how I can get zen coding enabled in .php files?
It works great in html and css.
Thanks
PS: replies like "dont put html in php files are not appreciated [/quote]
Do you mean html inside a string/HEREDOC in PHP?[/quote]
I think he never replied. I’m using ST2 and have the same problem as him, while inside .php file I cannot use zen coding at all, even inside string or heredoc. Is there a way to make it work?
on the Sublime Text view menu, choose syntax. On the menu that flies out chose html. Works for me.
Hi,
i just started using zen coding plugin, great time saver, but when writing css after pressing CTRL + SPACE i don’t see classes anymore. Is there way how to fix this?
Thanks!
Sure.
CTRL + SPACE when Zen is enabled.
http://img502.imageshack.us/img502/6470/sublime.jpg
CTRL + SPACE when Zen is disabled.
http://img26.imageshack.us/img26/9844/sublimewithoutzen.jpg
Guys I got a question. Anyone knows WHERE can I get this? On Bitbucket it says it’s a private repo and there’s no download or cloning available.
Is it down? For good?
Yeah please anyone share the zen coding plugin ? Well of course if that doesn’t break its license and so. Seems sublimator just abandoned the project…
sublimator is gone?! That…is…not…good
Well okay for all the folks out there that now are sad and just want to have zen coding i put up the last repo for download here.
netload.in/dateiERPTH72DN7/ZenCoding.zip.htm
@sublimator
if you don’t agree with this, just let me know and i take it down.