Reputation: 11
I hope to create a template type
so that when I typo var.type
, I'll get the output like type(var)
, but i couldnt find the similar template in settings of Pycharm, hope for some help!!!
Upvotes: 0
Views: 191
Reputation: 2998
That's a postfix template, and they still don't support custom postfix templates for Python.
From the help page:
You can edit the predefined postfix templates, for example, to replace a long key with a shorter one, or to expand the list of applicable expression types. Due to PyCharm limitations, you cannot create any custom postfix templates for Python.
Upvotes: 1