Home Download Buy Blog Forum Support

Zen Coding ( CSS Snippets )

Re: Zen Coding ( CSS Snippets )

Postby ilya on Thu Oct 01, 2009 10:07 am

sublimator wrote:or just update it yourself

Thanks! It works ;)
ilya
 
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: Zen Coding ( CSS Snippets )

Postby dfabrizio on Thu Oct 01, 2009 12:54 pm

sublimator wrote:Dan,

I just put the command on my BB acount, and actually used some OO(
shudder), factoring out a DynamicSnippetBase you can inherit from so
you just need to implement `create_snippet(self, abbr, args)` as seen here

The view reference is available as `self.view` but you can always just
use the Base as an example if needs be. In any case you'll have to
copy/paste the Base into your package. Dependencies between packages
is still an open problem.

Hopefully, it doesn't have too many bugs as I haven't thoroughly
checked it.


this is great. Thanks, Dan
dfabrizio
 
Posts: 10
Joined: Sat Sep 26, 2009 10:44 pm

Re: Zen Coding ( CSS Snippets )

Postby ilya on Thu Oct 01, 2009 12:57 pm

Sublimator! Zen Coding Pakage is amazing! Image
ilya
 
Posts: 122
Joined: Fri Sep 11, 2009 8:32 pm

Re: Zen Coding ( CSS Snippets )

Postby EJ12N on Thu Oct 01, 2009 3:21 pm

awesome job Nick like always! :)
*IM LOVING IT* ^_^
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Zen Coding ( CSS Snippets )

Postby otaku888 on Thu Oct 01, 2009 3:31 pm

Any documentation on how to use this?
otaku888
 
Posts: 22
Joined: Fri Aug 08, 2008 10:43 am

Re: Zen Coding ( CSS Snippets )

Postby EJ12N on Thu Oct 01, 2009 4:09 pm

otaku888 wrote:Any documentation on how to use this?

See the zen coding google page... then on sublime just press ctrl+alt+enter and enter ur zen coding pattern :)
EJ12N
 
Posts: 281
Joined: Tue Apr 21, 2009 5:23 pm

Re: Zen Coding ( CSS Snippets )

Postby vim on Thu Oct 01, 2009 7:31 pm

very impressive nick! well done
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

Re: Zen Coding ( CSS Snippets )

Postby otaku888 on Fri Oct 02, 2009 7:53 am

EJ12N wrote:
otaku888 wrote:Any documentation on how to use this?

See the zen coding google page... then on sublime just press ctrl+alt+enter and enter ur zen coding pattern :)


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?
otaku888
 
Posts: 22
Joined: Fri Aug 08, 2008 10:43 am

Re: Zen Coding ( CSS Snippets )

Postby otaku888 on Fri Oct 02, 2009 11:07 am

I've opened the ouput panel and when I press your key combination I get:

Code: Select all
>>>
  File "<string>", line 0
   
    ^
SyntaxError: unexpected EOF while parsing
otaku888
 
Posts: 22
Joined: Fri Aug 08, 2008 10:43 am

Re: Zen Coding ( CSS Snippets )

Postby vim on Fri Oct 02, 2009 11:31 am

maybe update AAA* ?
vim
 
Posts: 298
Joined: Tue May 27, 2008 6:51 pm

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: macula and 31 guests