Home Download Buy Blog Forum Support

add snippet description in sublime-completions file

add snippet description in sublime-completions file

Postby pier on Mon Nov 12, 2012 2:54 am

How can I add a description parameter in a snippet which is inside a sublime-completions?

I've tried adding it, but the descripton doesn't show in the auto complete box.

Code: Select all
{ "trigger": "superTrigger" , "contents": "Yeah(${1:ohlala});" , "description" : "This is a great snippet" },

I need it to differentiate some snippets with the same tab trigger, but different result. Because of a bug I cannot add certain characters in the trigger, as the word list buffer disappears. So I cannot differentiate the snippets... so I need to add some description to make them look different.

I'm referring to this bug btw
Posts: 95
Joined: Fri Jun 15, 2012 2:47 am

Return to Technical Support

Who is online

Users browsing this forum: Yahoo [Bot] and 19 guests