I have an issue using python for VS code on windows.
The autocompletion and color syntaxing is very slow (more than 153secs). I tried to disable all extensions as mentionned here Visual Studio Code Intellisense is very slow - Is there anything I can do? but without any improvement. My python file is very small (60 lines).
[Info - 13:49:36] (32004) [IDX(2)] Long operation: index libraries c:\Users\XXX\XXX.py (2089ms)
[Info - 13:49:36] (32004) Indexer done(2). indexed 504 files
[Info - 13:52:07] (32004) [BG(1)] Long operation: getSemanticTokens full at c:\Users\XXX\XXX.py (153210ms)
[Info - 13:53:43] (32004) [FG] Long operation: completion at c:\Users\XXX\XXX.py:33:12 (5334ms)
Any tips to trouble shoot my issue?
Edit:
- Python 3.10.1 - 64bits
- Pylance V2022.2.1
- VScode 1.64.2
- Windows 10