Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sublime suggestions appear despite auto_complete_api_completions_only set to true #777

Open
bs85 opened this issue Jul 14, 2021 · 1 comment

Comments

@bs85
Copy link

bs85 commented Jul 14, 2021

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?

@cloudworkpro-dave
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants