keybinding actions from ctrl+shift+a?
已回答
I wanna make a shortcut for making a new .py file in current env. I can do that in several ways, but I can't find a way to make a shortcut/keybind for it.
Haven't been able to find a similar question, except for specific actions from made in the main menu itself via the keymap feature.
请先登录再写评论。
Hello!
> I wanna make a shortcut for making a new .py file in current env. I can do that in several ways
Could you please describe the ways you use for it?
I'm not 100% sure what you mean.
I want to make a new python file which I can do in several ways now:
1. ctrl+n > python file.
2. shift+cmd+a > search for "python file"
Both actions will open a new .py file.
I want to do that action in one step by pressing say.. ctrl+shift+n. Makes sense?
You could record macro: https://www.jetbrains.com/help/pycharm/using-macros-in-the-editor.html and then assign a shortcut for it: https://www.jetbrains.com/help/pycharm/configuring-keyboard-shortcuts.html.