LLaP
LLaP

Reputation: 2727

Can PyCharm autocomplete arguments when instantiating a class?

Is it possible to set up PyCharm to autocomplete arguments when instantiating a class like in the example?

3:48 Autocomplete arguments

Upvotes: 11

Views: 3679

Answers (2)

Padraic Cunningham
Padraic Cunningham

Reputation: 180482

"ctrl p" will show parameter info which can be useful to remember what parameters the object takes and the order.

Upvotes: 9

Matthew Trevor
Matthew Trevor

Reputation: 14961

PyCharm provides this by default. It doesn't inject the argument names into the code as per the video you linked to, but it does give you a tool tip while instantiating a class with the arguments listed.

Upvotes: 0

Related Questions