Skip to content

Custom Completions not working #18

@mike-czarnota

Description

@mike-czarnota

Hello,
I had created my .sublime-completions file and since I've installed the JavaScript Completions my custom completions don't execute.
When I'm ignoring JavaScript Completions my completions work again.
How we can manage this to work simultaneously?

This is my .sublime-completions file:
`
{

"scope": "source.js",
"completions": [
    { "trigger": "_function with name (MY)", "contents": "function ${1:function_name}(${2:argument}) {\n\t${0:/*body...*/}\n}${3:;}" },
    { "trigger": "_function without name (MY)", "contents": "function(${1:argument}) {\n\t${0:/*body...*/}\n}${2:;}" },
    { "trigger": "for (MY)", "contents": "for(${2:i} = ${1:Things}.length - 1; ${2:i} >= 0; ${2:i}--){\n\t${3:${1:Things}[${2:i}]}${0}\n}" }
]

}
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions