Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Keyboard shortcut - Importing all missing modules in PyCharm

I know that Eclipse allows me to do this. However, in PyCharm I have to use Alt+Enter on every missing module to import it.

Is there a keyboard shortcut which allows me to import all missing modules at one go? Later, I could correct any incorrect imports.

like image 578
Tejas Avatar asked Apr 05 '15 20:04

Tejas


2 Answers

In Pycharm 2017, Alt + enter seems to do the trick

like image 77
Kritz Avatar answered Sep 28 '22 04:09

Kritz


Johan ist right, however your cursor has to be somewhere on the line of the missing artifact:

enter image description here

Alt+Eingabe here means Alt+Enter

Also see https://confluence.jetbrains.com/display/PYH/Auto-import

In the end, for ALL: nope

like image 23
Kawu Avatar answered Sep 28 '22 04:09

Kawu