PyCharm autocomplete

15,664

Solution 1

Can't reproduce. Make sure you have a valid Python interpreter configured for the project. Also try File | Invalidate Caches.

pickle

Solution 2

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.

Solution 3

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.

Project Inspector

Share:
15,664
user1686703
Author by

user1686703

Updated on June 04, 2022

Comments

  • user1686703
    user1686703 about 2 years

    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

  • user1686703
    user1686703 almost 12 years
    Thank you CrazyCoder, cache invalidation didn't help and if I can run simple python scripts and see their output doesn't this mean that I properly configured interpreter? or something can still be missing in project configuration? add: autocomplete works for "pickle" in import, but not as at your sceenshot
  • CrazyCoder
    CrazyCoder almost 12 years
    Project interpreter can be different from the one used in the run configuration.
  • CrazyCoder
    CrazyCoder almost 12 years
    I've checked it on Mac 10.8.2 with system default Python 2.7.2 and it also works fine. View | Quick Documentation should show where the completion is taken from: o7.no/P3t3Mg.
  • user1686703
    user1686703 almost 12 years
    thanks a lot! after playing with interpreter and project settings I got it working
  • Brian Jordan
    Brian Jordan about 11 years
    Worked for me trying to get praw completion and documentation working after installing in-IDE. Surprising that cache invalidation was necessary, though. Thank you!
  • Jaison James
    Jaison James about 7 years
    thanks a lot, dear, Its really help me get back my autocomplete feature with CSS file.