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

Intellisense missing items when using context managers #2240

Closed
DonJayamanne opened this issue Jul 24, 2018 · 3 comments
Closed

Intellisense missing items when using context managers #2240

DonJayamanne opened this issue Jul 24, 2018 · 3 comments
Assignees
Labels
area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. bug Issue identified by VS Code Team member as probable bug important Issue identified as high-priority
Milestone

Comments

@DonJayamanne
Copy link

with open('log.log', 'a') as fs:
	fs.

Completion is missing write.

However it works when using open('log.log', 'a').write.

  • OS - Mac
  • Latest version of Language server https://pvsc.blob.core.windows.net/python-language-server/Python-Language-Server-osx-x64.0.1.18204.3.nupkg
  • Works when using Jedi.

See here:
fs

@DonJayamanne DonJayamanne added bug Issue identified by VS Code Team member as probable bug area-intellisense LSP-related functionality: auto-complete, docstrings, navigation, refactoring, etc. needs PR labels Jul 24, 2018
@brettcannon brettcannon added the P0 label Aug 2, 2018
@brettcannon brettcannon added this to the Aug 2018 milestone Aug 2, 2018
@MikhailArkhipov
Copy link

Looks like scraped _IOBase does not include write while typeshed does.

@MikhailArkhipov
Copy link

microsoft/PTVS#4614

@MikhailArkhipov MikhailArkhipov self-assigned this Aug 7, 2018
@MikhailArkhipov MikhailArkhipov added important Issue identified as high-priority and removed P0 labels Aug 9, 2018
@MikhailArkhipov
Copy link

microsoft/PTVS#4622

@lock lock bot locked as resolved and limited conversation to collaborators Oct 3, 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 important Issue identified as high-priority
Projects
None yet
Development

No branches or pull requests

3 participants