Search code examples
pycharm

How do I open a new .py file in pycharm using keyboard shortcut in windows 10?


How can I create new Python file PyCharm with shortcut

This doesn't work now.

Keyboard shortcut with PyCharm to create new file

This one is for mac os only.


Solution

    1. Go to File->Setting->Keymap

    enter image description here

    1. Search "new"

    enter image description here

    1. Double click on the Python file.

    2. Add any shortcut you want. In my case, I have configured Shift +N

    enter image description here