IPython does already have a timeout for completion;
--Completer.jedi_compute_type_timeout ,
Though there is an initial step that cannot be interrupted, and this
typically make the first few completion with jedi slower.
Interrupting may or may not work as expected depending on whether you
have cell execution queued.
Note that vscode should know whether the kernel is busy and then could
decide to (not) send completion request to the kernel.
That is at least what classic notebook does; if the kernel is busy it
will rely on CodeMirror completion which is completely independent of
kernel, but less complete.
I'm not familiar with VS Code internal but I don't see any reason the
same approach can't be taken.
--
M
> --
> You received this message because you are subscribed to the Google Groups "Project Jupyter" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to
jupyter+u...@googlegroups.com.
> To view this discussion on the web visit
https://groups.google.com/d/msgid/jupyter/98f78a21-e439-4538-a05c-cc34f7614319o%40googlegroups.com.