Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Documentation for Python Functions in Visual Studio Code

I am studying python in Visual Studio code, and watching some tutorials I noticed a difference between the tutorial's IDE and mine.

When writing code, the tutorial's IDE will have suggestions and explanations on how to use functions. For example, when typing mystring.replace() a popup will appear with information about what the replace function does and what kind of arguments it expects.

In my case, however, I don't see anything like that (see attached screenshot). Is there something I am missing in the config of VS Code?

What Intellisense suggests me

EDIT: I have installed the Python Extensions for VS Code. Also, if relevant, I am using Python 3.9.0

like image 836
Nicola Dragoni Avatar asked Jun 16 '26 01:06

Nicola Dragoni


1 Answers

I found an answer to my problem.

In the settings page for Python, I changed the language server to Pylance and now I have more complete intellisense support for methods.

like image 111
Nicola Dragoni Avatar answered Jun 19 '26 22:06

Nicola Dragoni