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

add import line quickfix should add options of popular library aliases #3285

Closed
yuuuxt opened this issue Sep 5, 2022 · 4 comments
Closed

Comments

@yuuuxt
Copy link

yuuuxt commented Sep 5, 2022

Adding alias of popular libraries is absolutely a bonus.
As shown blow, it would be nice if the top 1 suggesstion is import pandas as pd.

image

@judej
Copy link
Contributor

judej commented Sep 6, 2022

Thanks for the report. Could you please make sure pandas is installed in the selected environment?

@heejaechang
Copy link
Contributor

also make sure you have "python.analysis.indexing": true

@yuuuxt
Copy link
Author

yuuuxt commented Sep 7, 2022

pandas installation: yes it's installed.

I added "python.analysis.indexing": true then more options appear, including pandas.

Maybe this setting could be turned on by default?

图片

@luabud
Copy link
Member

luabud commented Sep 13, 2022

The indexing setting should be defaulted to true, but something unexpected is going on. We're doing a controlled rollout to enable it and doing more verifications to ensure everything is working as expected, and if everything looks good we can make this officially set to true by default when the Python extension releases next month.
Closing in favour of #3329.

@luabud luabud closed this as completed Sep 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants