Pycharm, how to configure intentions (for example, change the "After" code)

Pycharm (and other intelligent IDEs) have an idea of action for action . The one I want to customize is Insert Paste Documentation Line Header so that it includes type annotations. I canโ€™t enter the โ€œAfterโ€ section or find a menu that allows me to change it at all - is this possible? If not, is there another plugin or something that will allow such a modification?

Preferences window for intentions

+5
source share
1 answer

You cannot set intentions. But you can use Live Templates, they are very customizable: https://www.jetbrains.com/help/idea/2016.1/live-templates.html

+1
source

Source: https://habr.com/ru/post/1207609/


All Articles