Sublime Forum

How manage snippets like float in css?

#1

Hi!

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:

float: left/right/none;

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

Thanks!

0 Likes

#2

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.

0 Likes

#3

If you would like a whole collection of CSS snippets, I have put around 50 together: joshnh.com/2012/02/a-collection- … me-text-2/

0 Likes