Sublime Forum

Double autocomplite issue

#1

Hi, Im using sublime to write pythons code so Ive installed anaconda. Now when Im writing code and when to get function pressinig . firs shows sublime default submenu than after about 2 sec its refresh and shows new submenu from anaconda. Is there any way to stop default autocomplite and left from anaconda? I was trying autocomplite: False but than I have no autocomplite at all :confused:

0 Likes

#2

What you are experiencing is that the pull-model for the completions API in ST3 doesnโ€™t allow the plugin author to return a future. It is blocking. There is no way to fix this in ST3.

ST4 has fixed this by allowing plugin authors to return a future. So the auto-complete widget will appear/update only when all futures have been resolved (or a timeout has occurred). Note that ST4 is in an experimental alpha state.

This is a step in the right direction.

1 Like

#3

But good enough for everyday use :slight_smile:

0 Likes