Reputation: 111
I'm completely new to Python and PyCharm and I cannot figure out why PyCharm doesn't auto-completes very simple cases such as:
import pickle
pickle.dum[control+space or control+shift+space results nothing here]
I have PyCharm 2.6.2 and Python 2.7.1. What's wrong?
Add:
I'm on Mac OS 10.7.3
Upvotes: 11
Views: 16902
Reputation: 2002
It happened to me, too. But all the previous answers don't solve my issue.
The weird thing is when I am coding, it will pump out the autocomplete for me. But once I leave the autocomplete mode, I cannot reproduce the autocomplete by typing Ctrl
+ Space
.
So the work I already surveyed are
Power Safe Mode
Finally I solved this just because my shortcut of switch language in the Mac is also Ctrl
+ Space
, so it's kind of override my shortcut in the Pycharm. I change the shortcut in the Pycharm by changing in Pycharm-> Preference-> Keymap-> Main menu-> Code-> Completion ->Basic
Then the problem is solved
Upvotes: 0
Reputation: 832
You could try with a virtualenv and on it install all you project dependencies and the go to pycharm preferences/Project Interpreter and it will update your project dependencies.
Upvotes: 1
Reputation: 71
My experience is if you turn ON the File -> Power-Save Mode, all background tasks will be stopped, including the Auto-Complete task. So you can try turning off the Power-Save Mode.
Upvotes: 7
Reputation: 401877
Can't reproduce. Make sure you have a valid Python interpreter configured for the project. Also try File
| Invalidate Caches
.
Upvotes: 13