Home Download Buy Blog Forum Support

Custom styles in autocomplete list

Custom styles in autocomplete list

Postby Notfonk on Wed Dec 05, 2012 12:27 pm

Ok, just a quick question :

Is it possible to custom style the completions in the autocomplete list in sublime text ?

By that i mean:
- Icons
- Custom fonts (smaller, bigger, bold)
- Colors
Notfonk
 
Posts: 6
Joined: Tue Dec 04, 2012 10:37 am

Re: Custom styles in autocomplete list

Postby pier on Tue Dec 11, 2012 10:25 pm

No it's not possible.

The only "customization" possible is to add some description label to distinguish 2 snippets with the same trigger. This is done with a tab character.

myTrigger\tmyDescription
pier
 
Posts: 92
Joined: Fri Jun 15, 2012 2:47 am

Re: Custom styles in autocomplete list

Postby iamntz on Tue Dec 11, 2012 10:33 pm

Just a stupid idea: use some ascii icons http://copypastecharacter.com/ :)
iamntz
 
Posts: 906
Joined: Fri Apr 29, 2011 8:52 am
Location: Romania

Re: Custom styles in autocomplete list

Postby Notfonk on Mon Dec 17, 2012 1:56 pm

Hey guys, thanks for the answers, i am in fact using unicode icons ;) and combined with the fact that the part after a tab character gets custom styling in the completion (what pier said), i guess it will be enough for now :)
Notfonk
 
Posts: 6
Joined: Tue Dec 04, 2012 10:37 am


Return to Plugin Development

Who is online

Users browsing this forum: Google [Bot] and 8 guests