Skipping completion doesn't work in this case because the user just typed 'df.head()'. The '.' in the causes autocompletion to occur.
We can try the timeout first to see if that works. That would be better than having to track completion requests and just interrupt them. Thanks On Friday, September 11, 2020 at 5:52:09 PM UTC-7, Rich Chiodo wrote: > > Hi, > > I was hoping to discuss making it possible to 'cancel' a kernel request. > Or at least ask if anybody else has thought of this and why or why not it's > possible. > > I didn't want to make a JEP > <https://github.com/jupyter/enhancement-proposals> just yet as thought > there might already be a discussion around this. > > This is in reference to problems my team is having with auto complete and > IPython: > https://github.com/microsoft/vscode-python/issues/9596 > > I ran some profiling when the problem occurs and it looks like we're in > the middle of waiting for the completion request to return before we can > execute a cell. > > This might be solved a number of ways: > - Modify Jedi/IPython to support a timeout for completion > - Skip doing autocompletion in VS code from Jupyter > - Provide a way to cancel a kernel request > > The cancel idea sounds the most interesting to me. > > Any feedback would be great. > > Thanks. > -- 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 [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/jupyter/62e278ab-9b58-4677-9b13-93f7b6927a84o%40googlegroups.com.
