Home Download Buy Blog Forum Support

Zen Coding

Zen Coding

Postby robert.kent87 on Fri Oct 28, 2011 3:20 pm

I can't get Zen abbbreviations to expand proerly. When I enter
Code: Select all
div.input

I would expect it to expand to
Code: Select all
<div class="input">
</div>

Instead it expands to
Code: Select all
div.<input type="">

I am using Tab to expand it because I can't work out what the Zen expand command is: ctrl+e, ctrl+alt+enter do nothing
robert.kent87
 
Posts: 6
Joined: Fri Oct 28, 2011 3:17 pm

Re: Zen Coding

Postby mizwo on Fri Oct 28, 2011 4:01 pm

Code: Select all
div.input
Works for me at official Build 2126. I installed Zen Coding via the Package Control http://wbond.net/sublime_packages/package_control
mizwo
 
Posts: 12
Joined: Fri Oct 28, 2011 12:31 pm

Re: Zen Coding

Postby robert.kent87 on Fri Oct 28, 2011 4:18 pm

Just noticed that ctrl+alt+enter doesn't expand a pre-typed abbreviation like other editors, but gives a little input box to type the abbreviation into. My bad!
robert.kent87
 
Posts: 6
Joined: Fri Oct 28, 2011 3:17 pm


Return to General Discussion

Who is online

Users browsing this forum: Exabot [Bot], Yahoo [Bot] and 25 guests