Open
Description
Environment data
- Pylance version: 2025.3.104
- OS and version: Windows 11 Version 10.0.26100 Build 26100
- Python version: 3.13.2
Code Snippet
rpm_max = 3200 # [tr/min]
print(rpm_max)
Expected behavior
Variable rpm_max
should not be grayed out
Actual behavior
All variables in my file are grayed out (but no error anywhere). I reloaded, reinstalled, reenabled the extension. Some times the issue disapear (no more grayed variables) but as soon as I add a new line, they all get grayed again.
My extensions are:
alefragnani.project-manager
ms-python.black-formatter
ms-python.debugpy
ms-python.python
ms-python.vscode-pylance
ms-toolsai.datawrangler
ms-toolsai.jupyter
ms-toolsai.jupyter-keymap
ms-toolsai.jupyter-renderers
ms-toolsai.vscode-jupyter-cell-tags
ms-toolsai.vscode-jupyter-slideshow
Logs
Not 100% sure that is what you need...
Python Language Server.log