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
No auto complete options show for Openpyxl #947
Comments
Hi, |
I had the same problem when I was getting sheet by name |
I'm not sure this is related to Pylance, if the old "Microsoft" language server setting was being used. Try with pylance enabled, perhaps? |
@MoonBrain1 and @84tom, we have recently released a new and more performant language server called Pylance which likely solves these issues you are reporting. You can download Pylance from the marketplace and install it alongside the core Python extension. Would you be able to try it out and let us know if it's working? |
It's been over a month since we asked for info and added the "waiting for info label"; I'm going to close this. If this is still a problem and you can provide more info, we can reopen this issue. |
Thanks. This appears to be a case where we can't infer the type of the result of the index expression; it's likely this library needs to be better stubbed (or have stubs written) to capture what that operator does. |
Thanks for the input, @jakebailey. I have installed the openpyxl-stubs and it seems to be working fine now (tested both in Windows 10 and Linux). $ pip install openpyxl-stubs |
Thanks for that link; we may be able to bundle those stubs like we do a few other stub packages. |
This issue has been fixed in version 2021.5.3, which we've just released. You can find the changelog here: https://github.com/microsoft/pylance-release/blob/main/CHANGELOG.md#202153-19-may-2021 |
From MicrosoftDocs/intellicode#199 by @Blotuxs
The text was updated successfully, but these errors were encountered: