Hi All,
FIrstly, this is my first play around the plugin system so I'm very new to this so please excuse any unintended stupid questions. Now, I'm trying to write a plugin to enhance the JavaScript auto completion functionality. But I was wondering a few things which I'm having trouble finding info about:
* Is it possible for my plugin to get access to the Snippets/Buffer Contents generated completions, i.e. Can I just return completions from my on_query_completions function and ensure that will be the only list of completions displayed?
* For testing purposes I have hard coded some completions, this works in some cases however, sometimes even though I return this list the status bar still says: 'No available completions', why are my completions being ignored?
* How can I set a scope for my plugin? Even though I'm being performance concious I'd rather not even be notified of say python auto completions when I only care about JS
* How can I force my plugin to also get called when in comments (support auto-complete for comments). Currently my on_query_completions is not fired when CTRL+ENTER in comments.
* Finally does sublime keep a cached files map (CTRL + P is so fast that I assume it does). Is this available to the plugin ecosystem?
Thanks all