question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intellisense very slow with Jedi

See original GitHub issue

I found some duplicates but most of them are closed with no suitable solution.

The only solution I found was to switch the Server Language from Jedi to Microsoft, which is not a suitable solution.

I also tried “python.analysis.cachingLevel”: “Library” without success.

Environment data

  • VS Code version: 1.48.2
  • Extension version (available under the Extensions sidebar): 2020.8.106424
  • OS and version: OSX 10.15.4 (MBP 13" 2016)
  • Python version (& distribution if applicable, e.g. Anaconda): 3.7.2 64-bit
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): N/A
  • Relevant/affected Python packages and their versions: All heavy ones (pandas, numpy, etc.) but also simple ones
  • Relevant/affected Python-related VS Code extensions and their versions: N/A
  • Value of the python.languageServer setting: Jedi

Expected behaviour

Few ms to load tooltip.

Actual behaviour

Few seconds to load tooltip (> 5 seconds)

Steps to reproduce:

import pandas as pd pd.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
alcpereiracommented, Sep 9, 2020

I’m not sure to understand the solution given by #11995. Could you be more specific please?

I’ve checked pylance before submitting this issue but like I said it’s not a suitable solution to switch from jedi to microsoft or pylance. Also tbh I don’t really like the decision of making it as a closed source, and the reviews are not very good. I’ll give it a chance if I don’t find any suitable solution for Intellisense with Jedi and in a few more months.

0reactions
kimadelinecommented, Sep 21, 2021

Now that #11995 has been implemented, the Python extension only relays what is being returned by the Jedi language server. If it is still slow, please open an issue upstream on the jedi-language-server repo.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code Intellisense is very slow - Stack Overflow
I'm using VS Code and it's wonderful is all areas but code completion, where it is usually just too slow to be of...
Read more >
Is it only me or Jedi is super slow and unusable? : r/Python
Just imported Numpy, and it takes like 20s to show me the suggestions. I tried the new update but it became even worse....
Read more >
intellisense very slow - Visual Studio Feedback
When using 'peek defintion' or 'Find all references', Intellisense becomes very slow over time. After closing and restarting Visual Studio ...
Read more >
Visual Studio Code Intellisense is very slow - DevPress - CSDN
Tinkering with Jedi myself on bigger code bases I can confirm that it might be uber slow at times and pretty hard to...
Read more >
kaggle notebook autocomplete [feature request]
kaggle notebook autocomplete [feature request] ... Report. It works but the speed is slow, maybe I should increase the memory to 16g. replyReply ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found