Sublime Forum

"on_query_completions" does not work everywhere


I’m trying to make my own hints, but the problem is that these hints only work in a file with the plugin script itself. Even such a simple example does not work where I need it.



Where did you put the plugin? If it works only while this file is open, it sounds less like it’s only applying in one place and more that it’s not applying at all and the only reason you see a completion in this file is because it contains the text.

If you include a top level print() statement, that should get printed whenever the file is loaded; if you add one and save the file, do you see any output in the Sublime console?