Sublime Forum

Add snippet description in sublime-completions file

#1

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.

{ "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


0 Likes