1

Can anyone shed light on why the intellisense isn't work for some imported modules? Example: enter image description here

In the above, I'm importing minidom library, but when I do . on the doc object I don't get any code complete options. In the video tutorials I was following, the author was using VSC and they had all the code completion options.

1 Answer 1

2

I can reproduce your question and after setting "python.languageServer": "Jedi" then reloading window, suggestions are showing:

enter image description here

Sign up to request clarification or add additional context in comments.

2 Comments

Thanks! I changed it from the default (pylance) to Jedi and it works for me too. A little bit frustrating that pylance couldn't determine the methods & attributes.
@RayHogan. You may file a bug report in microsoft/pylance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.