Skip to content

Jedi autocomplete stuck in loading state (Need help replicating) #5514

Answered by Sharpz7
Sharpz7 asked this question in Q&A
Discussion options

You must be logged in to vote

Okay so a final topic on this. Jedi is extremely slow, and doesn't manage to handle wildcards in this case. Pylance can, but by default PyRight (The open source base of Pylance), it doesn't work.

The difference is a single setting that Pylance has true by default, but Pyright does not. I think purely due to the fact that the Pyright devs have a grub against this feature ;/

    "python.analysis.useLibraryCodeForTypes": true,

After enabling this, pyright works just like pylance, and you get full highlighting and autocomplete support for wildcard imports. Data Analysts rejoice :))

Replies: 6 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
3 replies
@jsjoeio
Comment options

@Sharpz7
Comment options

@jsjoeio
Comment options

Comment options

You must be logged in to vote
1 reply
@jsjoeio
Comment options

Comment options

You must be logged in to vote
2 replies
@Sharpz7
Comment options

@jsjoeio
Comment options

Comment options

You must be logged in to vote
0 replies
Answer selected by Sharpz7
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants