Skip to content

Sourcery plugin in VSCode uses too much processΒ #405

Open
@PhunkyBob

Description

@PhunkyBob

Checklist

Description

In VSCode, Sourcery is always scanning my code, even if I don't touch it.
It uses a lot of processor time.
So much process that the others features of the IDE are not working well (Pylance, ...).
Sometimes I type a variable and my IDE takes 10 seconds to understand that the variable exists!

If I look in the VSCode notification, I can see Sourcery is scanning 10 times the same file.
OOrbNoABcz

Code snippet that reproduces issue

No particular code.
It do so on every Python script.

Debug Information

IDE Version:
VSCode
Version: 1.84.2 (user setup)
Commit: 1a5daa3a0231a0fbba4f14db7ec463cf99d7768e
Date: 2023-11-09T10:51:52.184Z
Electron: 25.9.2
ElectronBuildId: 24603566
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: 11.4.183.29-electron.0
OS: Windows_NT x64 10.0.19045

Sourcery Version:
v1.14.0

Operating system and Version:
Windows 10

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions