Home Download Buy Blog Forum Support

How manage snippets like float in css?

How manage snippets like float in css?

Postby davidmatas on Sat Feb 18, 2012 6:34 pm


I'm very new in this kind of editors: Textmate, Sublime, etc, but I'm very impressed. For now, I've seen if in my css files I write float and press TAB, I see this snippet:

Code: Select all
float: left/right/none;

Why all this options are presented? How can I select a option (left for example) quickly? Any keyboard shorcut?

Posts: 9
Joined: Fri Feb 17, 2012 1:33 pm

Re: How manage snippets like float in css?

Postby C0D312 on Sat Feb 18, 2012 8:31 pm

You have ZenCoding installed. left/right/none is just a placeholder. this is just a reminder for what options are available for this property. However, if you just ignore the already selected placeholder text, you can start typing one of the available options and the appropriate option should appear in the autocomplete box. Then you just press enter/tab to commit the autocomplete.
Posts: 1056
Joined: Sun Jul 10, 2011 3:23 am

Re: How manage snippets like float in css?

Postby joshnh on Sun Feb 19, 2012 10:31 pm

If you would like a whole collection of CSS snippets, I have put around 50 together: http://joshnh.com/2012/02/a-collection- ... me-text-2/
Posts: 14
Joined: Wed Feb 01, 2012 5:11 am
Location: Australia

Return to General Discussion

Who is online

Users browsing this forum: No registered users and 25 guests