Closed msieurtoph closed 3 years ago
Looking back to my change, I think I found a cleaner way to switch between both behaviors, and properly return api completions only. At least, I hope to ... ;)
The behavior fixed by original PR (#733) is preserved and should still work (as far as I tested it, it worked).
👍🏻 I'm for this, but it will need documenting in the README first
👍🏻 I'm for this, but it will need documenting in the README first
Done ;)
Cool, thanks!
Hm.. word completions are still present for me unless I change the code to sublime.INHIBIT_WORD_COMPLETIONS | sublime.INHIBIT_EXPLICIT_COMPLETIONS
as you initially did.
Update:
733 created a regression (see my comment : https://github.com/microsoft/TypeScript-Sublime-Plugin/pull/733#commitcomment-37663896)
This PR adds a simple setting key to switch between old and new behavior.
Default behavior is the new one. Turning setting
auto_complete_inhibit_word_completions
to True activates the old one.I hope you will be OK with that.