Skip to content
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 opened this issue Apr 5, 2019 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@alistairfoggin
Copy link

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

@alistairfoggin alistairfoggin changed the title IntelliSense in function shows variables that are local to other functions IntelliSense in function name shows variables that are local to other functions Apr 5, 2019
@jakebailey
Copy link
Member

I believe this is a duplicate of #843, which will be fixed in #819.

@jakebailey jakebailey added the duplicate This issue or pull request already exists label Apr 5, 2019
@alistairfoggin
Copy link
Author

alistairfoggin commented Apr 8, 2019 via email

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants