Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

vscode not autocompleting certain Python methods

This issue appears for some Modules I don't remember which other one I had issues with yesterday but for now the re module seems to have issues auto completing. Tried the same code with pycharm and had no issues. Not sure why.

vscode example.

enter image description here

Pycharm example.

enter image description here

like image 213
FastGoose23 Avatar asked Oct 18 '25 14:10

FastGoose23


1 Answers

This worked for me:

You can Install pylance language server for language support after reinstalling vscode

OR

In vs code open command palette Ctrl+Shift+p

There select Python:Select Interpreter from the command pallete Selecting python interpreter from the comman pallete

Close your vs code and then try.

like image 56
TERMINATOR Avatar answered Oct 21 '25 04:10

TERMINATOR



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!