Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I create new Python file PyCharm with shortcut

Tags:

ctrl+alt+insert opens a dialog to choose the file type I want to creat.
Can I specify that I want to create py file directly without choosing?

like image 403
Ives Avatar asked Aug 18 '18 06:08

Ives


1 Answers

  1. Go to File->Setting->Keymap
  2. Search "new"
  3. Under "Pyhon Community Edition" there will bean option of "Python File"
  4. Add new shortcut to this option (SHIFT+N is usually unassigned)
like image 189
Alexander Avatar answered Sep 30 '22 01:09

Alexander