Skip to content

Python extension locks up VSCode during startup #12342

@PeterJCLaw

Description

@PeterJCLaw

Environment data

  • VS Code version:
Version: 1.45.1
Commit: 5763d909d5f12fe19f215cbfdd29a91c0fa9208a
Date: 2020-05-14T08:27:22.494Z
Electron: 7.2.4
Chrome: 78.0.3904.130
Node.js: 12.8.1
V8: 7.8.279.23-electron.0
OS: Linux x64 5.3.0-59-generic
  • Extension version (available under the Extensions sidebar): 2020.5.86806
  • OS and version: Ubuntu 18.04.4
  • Python version (& distribution if applicable, e.g. Anaconda): OS has Python 2.7.17 and 3.6.9. I've also got 3.5.9, 3.7.7 and 3.8.3 installed via the deadsnakes PPA
  • Type of virtual environment used (N/A | venv | virtualenv | conda | ...): OS Python, virtualenv (via mkvirtualenv)
  • Jedi or Language Server? "python.jediEnabled": true
  • Value of the python.languageServer setting: Microsoft

Expected behaviour

Initial startup of the Python extension is essentially a background activity.

Actual behaviour

Initial startup of the Python extension locks up VSCode and creates sufficient load that other programs slow down.

This is only noticeable on the first startup of the extension after a reboot or a long period of inactivity. Just restarting VSCode doesn't reproduce this.

Steps to reproduce:

  1. start VSCode
  2. open any Python file
  3. try to click around within that file while the Python extension is starting up

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable buginvestigatingWe are looking into the cause of the issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions