Since Sublime build 4073 (changelog includes "Reworked Auto Complete UI"), the setting auto_complete_api_completions_only doesn't do anything for me anymore, showing content-based completions along with TS ones regardless.
I have fiddled with the plugin code and it seems that sending sublime.INHIBIT_WORD_COMPLETIONS instead of sublime.INHIBIT_EXPLICIT_COMPLETIONS in typescript/listeners/completion.py fixes the problem.
Should INHIBIT_WORD_COMPLETIONS be used when auto_complete_api_completions_only is on?
Thanks for this @bs85 I was also having this issue where all i wanted to show were the properties in Typescript completions and this did the trick. I also added "auto_complete_include_snippets": false
Since Sublime build 4073 (changelog includes "Reworked Auto Complete UI"), the setting
auto_complete_api_completions_only
doesn't do anything for me anymore, showing content-based completions along with TS ones regardless.I have fiddled with the plugin code and it seems that sending
sublime.INHIBIT_WORD_COMPLETIONS
instead ofsublime.INHIBIT_EXPLICIT_COMPLETIONS
intypescript/listeners/completion.py
fixes the problem.Should
INHIBIT_WORD_COMPLETIONS
be used whenauto_complete_api_completions_only
is on?