简体   繁体   中英

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

“ctrl p”将显示参数信息,这对于记住对象采用的参数和顺序非常有用。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM