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.

Python Intellisense very slow

See original GitHub issue

Environment data

  • VS Code version: 1.23.1
  • Extension version (available under the Extensions sidebar): 2018.4.0
  • OS and version: Mac Os 10.13.4
  • Python version (& distribution if applicable, e.g. Anaconda): python3.6.5 [homebrew]
  • Type of virtual environment used (N/A | venv | virtualenv | conda | …): virtualenv
  • Relevant/affected Python packages and their versions: all, but testing with pandas

Actual behavior

intellisense and autocomplete very slow, at first it works but after a couple of minutes stops working. Developer tools throwing an error [see below]

Expected behavior

I guess intellisense should work, ideally immediately

Steps to reproduce:

  1. XXX

Logs

nothing interesting here, only pylint results

XXX

Output from Console under the Developer Tools panel (toggle Developer Tools on under Help) image

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
jajcayncommented, Jul 10, 2018

@brettcannon thanks for the response! In the meantime, I saw that you merged #1868 and I got the feeling that the problem is solved! At least in the last week [I was travelling lately, rather than working] I didn’t notice the aforementioned Jedi error. Sometime intellisense slows down [but again, I am working with large codebase]. However, I’ll try your new language server and let you know which one handles better large code bases. Thanks again, for all the work!

1reaction
Arkowencommented, Jun 1, 2018

i have same promble but worse than you and there is a same promble https://github.com/Microsoft/vscode/issues/50818

Open a Python file in the editor with the Python extension enabled. Begin typing an identifier Press tab, expected result: autocompletion suggestions actual result: tab inserted Resume typing an identifier Press Ctrl-Space expected result: autocompletion suggestions actual result: suggestion context menu pops open, stays on “Loading” arbitrarily long

If I disable the Python extension and try the above, I get suggestions as expected, but no Python-aware suggestions (parameter values, keywords, etc.)

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 >
Python Intellisense autocomplete extremely slow #1871 - GitHub
Problem: Intelisense autocomplete takes forever to complete downloaded Python modules such as pandas (but other as well, numpy, scikit-learn...) ...
Read more >
Python – Visual Studio Code Intellisense is very slow - iTecNote
Best Solution · Open Command Palette (Ctrl+Shift+P) · Type in "Disable all installed extensions" · Enable them one by one or in groups...
Read more >
Python Intellisense Performance Issues
Intellisense works extremely slow and not consistent. It partly takes minutes until imported modules and its members are being found.
Read more >
Very slow intellisense in vscode when 'node_modules' is ...
11 votes, 19 comments. As in this post I'm facing similar problem. Vscode intellisense is very slow in Nextjs with TypeScript I tried...
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