Sublime Forum

How to compose "scope" in sublime-completions?

#1

Hello, I want to make plugin with completions. I have this file and now I want to add items to the list. Words should be added only when cursor is preceded by "import ".

{
    "scope": "source.python",
    "completions":
    
        "keyword",
        "urllib2",
    ]
}

How can I do this?
Is there any doc on how to compose value of “scope”?

0 Likes