pylance-release
pylance-release copied to clipboard
Documentation and issues for Pylance
Issue Type: Bug 1. Have a variable used in many cells 2. Rename the variable with the "rename symbol" refactor option expected: all instances renamed reality: only changes instances in...
Issue Type: Bug # Behaviour ## Expected vs. Actual All problems are correctly annotated OR a warning is shown that not ALL problems are shown in the view (not problems...
I'm having code folding issues In the current release of Pylance. I'm not sure what the exact conditions are, but starting in v2022.1.5, `fn()` in the snippet below does not...
## Environment data - Language Server version: 2022.7.40 - OS and version: Windows 10 Home - Python version: 3.9.7 ## Code Snippet (using onnx=1.11) ```python import onnx model = onnx.ModelProto()...
Type: Bug # Behaviour ## Expected vs. Actual Expected: Select value that I would like to extract, press extract. Values that were selected move to a definition statement, and I...
Currently, pylance fails to parse imported files that end with a custom prefix, this means that we can't have features such as code completion and code navigation on these imported...
## Environment data - Language Server version: 2022.08.10 - OS and version: Ubuntu 20.04 LTS - Python version (& distribution if applicable, e.g. Anaconda): 3.8.5 miniconda environment ## Code Snippet...
https://stackoverflow.com/questions/73266311/vscode-removes-python-imports-automatically-but-unnecessarily-on-save It removes the following in-use, important though unreferenced imports in .py file in a python project which has nothing to do with jupyter and/or pylance: ``` import quart.flask_patch import...
### Applies To - [X] Notebooks (.ipynb files) - [ ] Interactive Window and\/or Cell Scripts (.py files with \#%% markers) ### What happened? In JupyterLab, I simply import the...
_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Erroneous-warnings-constant-not-defined/10043878)._ --- [regression] [worked-in:VS 2022 17.1.x] Opening the repo mentioned here https://github.com/microsoft/pylance-release/issues/2427 with VS 17.2.0 not only yields the well...