I did the Emacs Pro Essentials plugin for ST3. I created my own completion handler which searched all the open buffers for substrings of what you’re typing. What I wanted was to be able to complete on all the symbols of the project in addition to substrings, but at the time there was no access to the symbols for the purposes of completion.
I knew St4 had support for that but my plugin was preventing that from working. So I turned it off. And in general I like it a LOT. But sometimes I get truly bizarre behavior.
E.g.,
I do have, in separate classes in the current coffeescript file, getUser, getName, getShift, getRota, getGrade, etc., but for some reason ST4 is truncating the last letter. But not always …
Here I typed some more:
More of the same.
I also noticed that sometimes I add a new method, but then I cannot perform a completion on it. It’s just not found. But it’s definitely a known function because I can “goto symbol” and that works.
Are these known issues?
Also, I think what I’d like is to be able to complete on symbols within the entire project as well as substrings in the existing buffers. When my on_query_completions method was still in use (now it’s commented out) I was returning the following:
return (words, sublime.INHIBIT_WORD_COMPLETIONS)
and I am wondering if that flag prevents the symbol completion from working?
Also are WORD_COMPLETIONS part of the current buffer only or all buffers?
Hope someone can help. Sorry for the involved question.