Reputation: 27574
The shortcut Alt+Enter
is intercepted by my window manager(i3) to create a new terminal, so the default shortcut of auto import
(which is also Alt + Enter
) doesn't work in pycharm. Can I use another shortcut to do the auto import
? It's really a pain to import the required package manually every time.
Upvotes: 0
Views: 3548
Reputation: 57964
Go to
File > Settings > Keymap
And remap your auto-import to a different key or combination of keys. The keymap should be labeled under
Other > Show Intention Actions
You can search for it in the search bar. Google is your friend and can come in handy when asking simple questions like these, so please abstain from asking questions that can be easily found online.
Upvotes: 3