I'm trying to get my head around making a completions list. I've been looking at other pre-existing ones to get my head around it but I can't seem to get my own working.
I created this super simple sublime-completions file, and from other scripts it picks up on the "yeay" but pressing tab won't do "This is a test!". I thought that the yeay was meant to be the trigger for what's next. I have my head around snippets, but this seems a little different...
- Code: Select all
{
"scope": "source.js",
"completions":
[
{ "trigger": "yeay", "contents": "This is a test!"},
]
}
Anyway, If anyone could help me get going it would be great!
Thanks
Pete