Home Download Buy Blog Forum Support

Zen Coding ( CSS Snippets )

Re: Zen Coding ( CSS Snippets )

Postby jbrooksuk on Fri Jan 28, 2011 1:18 pm

Sublimaz wrote:Zen Coding doesn't work on sublimetext2?

New plugin system isn't it.
jbrooksuk
 
Posts: 753
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Zen Coding ( CSS Snippets )

Postby Serp on Wed Feb 02, 2011 11:59 pm

Hey I really like this plugin and appreciate the effort put into it, I just have a couple of things I'd love to be able to change

I've been digging around the source and I cannot find how to alter a couple of things

1. I'd like to be able to remove the space that's inserted between the css value ie. when expanding fl:l -> float: left; i would prefer fl:l -> float:left; and also when doing a straight expand ie. fl:<tab> -> float:| (| representing the cursor position)

2. Also i'd prefer to be able to modify the css expand so that it doesn't automatically add a newline with indentation on expanding

3. One thing I have noticed with F1 list for CSS is that it searches all values, and not from the beginning of the line, this means that you can't get to certain elements (try searching for "p") minus quotes and you'll see what i mean

4. Also bug? fz<tab> expands to fz-index: and not font-size?

thanks
Serp
 
Posts: 1
Joined: Wed Feb 02, 2011 11:54 pm

Re: Zen Coding ( CSS Snippets )

Postby Phunky on Mon Feb 07, 2011 5:16 pm

I would love to see Zen Coding support in Sublime as it's the one thing holding me back from switching from Komodo :) you sure we can't tempt you to keep the working going some how?

I'm sure a few of us would be more than happy to donate some £££'s for your hard work, least I know I would!
Phunky
 
Posts: 35
Joined: Mon Feb 07, 2011 5:02 pm

Re: Zen Coding ( CSS Snippets )

Postby psionicsin on Wed Feb 09, 2011 1:11 am

sublimator wrote:Here's a quick hack port of Zen to s2 ( see attached zip ) I did last week. ( see attached zip )

It will likely be buggy. Only windows keymap is setup etc. Commands are missing. Hasn't really been tested ( I don't use X yet )

Be aware that default snippet bindings will take priority over normal bindings.

Dunno when I can look at it properly.


I placed the package in it's right place, but I'm still not able to get ZenCoding to work for S1 or 2. Does anyone know if "ctrl+," is still used to expand in S1 or 2?
psionicsin
 
Posts: 7
Joined: Tue Feb 08, 2011 9:09 pm

Re: Zen Coding ( CSS Snippets )

Postby jbrooksuk on Wed Feb 09, 2011 7:19 am

sublimator wrote:The posted zip was for S2 only.

Most commands (expand, balance tag etc) work here for me. Shrug.

It should just be abbrev->tab.

If it's not working for people maybe I'll just remove the zip to avoid wasting time.

It works for me!
jbrooksuk
 
Posts: 753
Joined: Sun Apr 11, 2010 10:37 am
Location: England

Re: Zen Coding ( CSS Snippets )

Postby psionicsin on Wed Feb 09, 2011 4:42 pm

sublimator wrote:The posted zip was for S2 only.

Most commands (expand, balance tag etc) work here for me. Shrug.

It should just be abbrev->tab.

If it's not working for people maybe I'll just remove the zip to avoid wasting time.


I'm using the latest S2 alpha. I typed in

Code: Select all
div#content>p


And then pressed [TAB], but nothing expanded. And I'm sure I have it placed correctly. Am I missing something?
psionicsin
 
Posts: 7
Joined: Tue Feb 08, 2011 9:09 pm

Re: Zen Coding ( CSS Snippets )

Postby psionicsin on Fri Feb 11, 2011 7:43 am

sublimator wrote:
It will likely be buggy.* Only windows keymap is setup * etc . Commands are missing. Hasn't really been tested ( I don't use X yet )


Are you on *nix. You'll have to copy the keymap?


*nix? unix? linux? No. I'm on Windows 7 x64.
psionicsin
 
Posts: 7
Joined: Tue Feb 08, 2011 9:09 pm

Re: Zen Coding ( CSS Snippets )

Postby Sublimaz on Sat Feb 12, 2011 4:17 pm

does it work stable on last sublimetext?
Sublimaz
 
Posts: 18
Joined: Mon Dec 13, 2010 2:27 pm

Re: Zen Coding ( CSS Snippets )

Postby firefusion on Sat Feb 19, 2011 9:04 pm

Thanks for taking the time to convert this to ST2 sublimator :D This should be built into ST imo.

I can't get the CSS help menu to show up with F1 anymore. Is it still there? I'm on windows 7 64bit.
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

Re: Zen Coding ( CSS Snippets )

Postby firefusion on Sat Feb 19, 2011 9:37 pm

Also how would I get the css commands to work on .less files?
firefusion
 
Posts: 218
Joined: Fri Oct 16, 2009 7:37 am

PreviousNext

Return to General Discussion

Who is online

Users browsing this forum: Google [Bot], supergra and 25 guests