I'm starting a plugin for ST2 which suggests code completion when hitting the colon ':' key. I keep on finding examples using on_query_completions, however this method is not included in the API reference, and this code never gets triggered on the colon key, but only on other keys:
- Code: Select all
def on_query_completions(self, view, prefix, locations):
Can some kind soul explain to me where is the starting point in building such a plugin? BTW, I never see the 'hello' suggestion.