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

Does not show sys in auto complete suggestion list for import #1106

Open
tahseenjamal opened this issue Sep 8, 2024 · 2 comments
Open

Does not show sys in auto complete suggestion list for import #1106

tahseenjamal opened this issue Sep 8, 2024 · 2 comments
Assignees

Comments

@tahseenjamal
Copy link

Pyright version 1.1.377

:CocCommand workspace.showOutput Pyright has no output

VIM version 9.1.650 (note this is VIM not NeoVIM)

When I try to do import, I don't see the sys in the auto complete list. You can see the screenshot. In case of coc-basedpyright and coc-pylsp, I can see

Screenshot 2024-09-08 at 22 41 44

@fannheyward
Copy link
Owner

Reproduced, but couldn't fix this in coc-pyright.

Pyright didn't provide auto suggestions for from/import keyword, after you input import , I mocked a completion request to Pyright and returned the completions. Pyright didn't provided sys in this case.

@tahseenjamal
Copy link
Author

@fannheyward so means this is a bug in pyright and not coc-pyright because coc-pyright is using pyright internally and that pyright itself is not returning sys ?

@fannheyward fannheyward reopened this Sep 9, 2024
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

2 participants