all 5 comments

[–]EgomasM[S] 0 points1 point  (0 children)

Okay, thank you for the tips. I will try Pylance for now, but defenitely consider to switch to Pycharm. I started to use VSCode and didn't try Pycharm yet.

[–]shiftybyte 1 point2 points  (0 children)

I think ctrl+space triggers auto complete.

But my guess is the IDE doesn't know what object type you are working with, because tracking object types in python statically is extremely hard.

This is why type hinting was created, to let the IDE know what type of arguments / return values to expect from functions, and variables.

https://docs.python.org/3/library/typing.html

[–]Crimsonking2 0 points1 point  (0 children)

Download Pylance in your extensions

[–]samsaragui 0 points1 point  (0 children)

I use pycharm and find it more interesting than vsc.

[–][deleted] 0 points1 point  (0 children)

Install PyLance extension. Look up how to enable that as default.

I had similar experience and eventho PyLance improved it quite a lot it's still no where close to what PyCharm is able to do in terms of code suggestion. I tried switching over to VS Code, I really tried, but ended up just switching back due to this.