Naming a great ending?

I'm wondering if you can “call” sublime completion so that the name appears in the autocomplete field. With fragments, you can do this by adding description, but I tried to add this (s name) to the completion without any luck.

To show what I'm trying to do:

enter image description here

The first option is a fragment of c <description>console.log snippet</description>.

The second option is the completion:

{ "trigger" : "cl"  , "description" : "console.log", "contents" : "console.log( ${10} );" }
+4
source share
1 answer

Use \tafter trigger text. However, there is an error where a buffer lock is blocked when using this function.

{
    "scope": "source.php",
    "completions": [
        {
            "trigger": "trigger_text\tdescription_text",
            "contents":"contents_text"
        }
    ]
}
+1
source

All Articles