Can I add an external tool as a button ?

Answered

I am using black and autopep8 as code formatters in external tool.

They work fine but it is not practical to run each one of them by going to the menu -> External Tools -> Black then again Menu -> External Tools -> AutoPep-8 for each file.

Is there a way to add these external tools as a button in the IDE ? Or map a shortcut to run them ?

Also, is it possible to run them both ?

Thanks in advance !

1
1 comment

Please see https://intellij-support.jetbrains.com/hc/en-us/community/posts/360001791440-Feature-request-PyCharm-Tool-External-Tools-keyboard-shortcut-.

You can assign shortcuts to external tools or customize the menu and make it a button on the toolbar.

Make a batch file / shell script that will call both tools and use it as your external tool to make it work in one click or on one shortcut.

 

0

Please sign in to leave a comment.