Skip to content
This repository was archived by the owner on Apr 14, 2022. It is now read-only.
This repository was archived by the owner on Apr 14, 2022. It is now read-only.

IntelliSense in function name shows variables that are local to other functions #889

Closed
@alistairfoggin

Description

@alistairfoggin

Os Version: Windows 10 - 10.0.17763 Build 17763
Extension Version: Python 2019.3.6352
Language Server Version: Microsoft Python Language Server version 0.2.43.0
Reproducible Code:

def x():
    testVariable = "Test"

def test():
    test2 = 0

When I am naming the test function, it shows testVariable as an option in IntelliSense.
Python Intellisense bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    duplicateThis issue or pull request already exists

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions