Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

glob is not been recognized if in a for def #338

Closed
jcrmatos opened this issue Dec 3, 2017 · 2 comments
Closed

glob is not been recognized if in a for def #338

jcrmatos opened this issue Dec 3, 2017 · 2 comments
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug

Comments

@jcrmatos
Copy link

jcrmatos commented Dec 3, 2017

Environment data

VS Code version: 1.18.1
Python Extension version: 0.8.0
Python Version: CPython 3.5.4 32b
OS and version: Windows 7 Pro SP1 x64

Actual behavior

for file in glob(bdexp.TEMP_DIR + '*.pdf'):  # type: str
    remove(file)
a = glob(bdexp.TEMP_DIR + '*.pdf')

On the above lines if I put the mouse cursor over the 1st glob (on the for def) Intellisense shows the def for str.
If I put the mouse cursor over the 2nd glob Intellisense shows the glob def.

Expected behavior

Intellisense should show the glob def for both situations.

Thanks,

JM

@brettcannon brettcannon added awaiting 1-verification area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug labels Dec 4, 2017
@MikhailArkhipov
Copy link

Most probably same as #142.

@DonJayamanne
Copy link

Works for me on my Mac and not on Windows.

@DonJayamanne DonJayamanne removed their assignment Jan 11, 2018
@lock lock bot locked as resolved and limited conversation to collaborators Jul 11, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug
Projects
None yet
Development

No branches or pull requests

4 participants