Home Download Buy Blog Forum Support

How t select from auto completion options.

How t select from auto completion options.

Postby hileon on Thu Apr 12, 2012 4:59 am

e.g.
In a css file, when I input
Code: Select all
posi
and hit
Code: Select all
tab

I will get something like this:
Code: Select all
position: static/relative/absolute/fixed;
, and
Code: Select all
static/relative/absolute/fixed;
are selected by default.
Now how can I select one from?
Code: Select all
static/relative/absolute/fixed
?
hileon
 
Posts: 2
Joined: Thu Apr 12, 2012 4:52 am

Re: How t select from auto completion options.

Postby agibsonsw on Thu Apr 12, 2012 3:24 pm

You can't do this with the default snippets unfortunately, you just have to overtype with the value you want.

You could try my completions :D attached. When the values are highlighted press 'a' and it will write 'absolute'. If you backspace and type 's' it will replace it with 'static'. Then press TAB to move on.

Unzip and copy the file to your Packages/User folder - you can rename it, but keep the extension. You may also want to temporarily move the default CSS snippets-folders out of the CSS folder, so that they don't get in the way.

There are a number of other abbreviations included, such as for colour names. Let me know if you need some guidance.

Alternatively, you could look at the ZenCoding plugin. Andy.
Attachments
AndyCSS.zip
(5.79 KiB) Downloaded 48 times
"I'm here to save your life. But if I'm going to do that, I'll need total uninanonynymity." Me Myself & Irene.
agibsonsw
 
Posts: 901
Joined: Fri Jan 27, 2012 9:11 pm


Return to Technical Support

Who is online

Users browsing this forum: Exabot [Bot], Google [Bot] and 21 guests

cron