The code completion in the editor is not working
See original GitHub issueDescription
What steps will reproduce the problem?
- type “import os”
- type long_name_for_completion = 1
- type long_name, press tab (or control + space), nothing happens.
- type os., press tab, nothing happens.
What is the expected output? What do you see instead? There should be a list of possible variable names for me to choose when I press tab.
Please provide any additional information below It works in the IPython console, but not the editor.
Actually one hour ago it works well in the editor. Just after a dinner it is not working. I’ve tried reinstalling spyder, rebooting, updating the packages, etc. It still doesn’t work.
Version and main components
- Spyder Version: 3.1.4
- Python Version: 3.6.1
- Qt Versions: 5.6.2, PyQt5 5.6 on Darwin
Dependencies
pyflakes >=0.6.0 : 1.5.0 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pygments >=2.0 : 2.1.3 (OK)
qtconsole >=4.2.0: 4.2.1 (OK)
nbconvert >=4.0 : 4.2.0 (OK)
pandas >=0.13.1 : 0.20.1 (OK)
numpy >=1.7 : 1.12.1 (OK)
sphinx >=0.6.6 : 1.5.1 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
jedi >=0.9.0 : 0.10.2 (OK)
psutil >=0.3 : 5.0.1 (OK)
matplotlib >=1.0 : 2.0.2 (OK)
sympy >=0.7.3 : 1.0 (OK)
pylint >=0.25 : 1.6.4 (OK)
Issue Analytics
- State:
- Created 6 years ago
- Comments:17 (8 by maintainers)
Top Results From Across the Web
Solved: Code completion not working in Spyder 5.1.5 after
My first line in the Editor (not console) was import arcpy, My second line was arcpy.Add... but no autocomplete appeared.
Read more >Completion and linting in the editor for Python files will not ...
Disabling the firewall and antivirus didn't work for me. I was able to fix this issue by resetting Spyder. In the Anaconda prompt,...
Read more >IntelliJ: Code completion not working - no suggestions
Go to Preferences->Editor->Code Completion and check Autopopup code completion - this has been checked. Go to File->Invalidate Caches and ...
Read more >IntelliSense in Visual Studio Code
The editor supports "tab completion" which inserts the best matching completion when pressing Tab. This works regardless of the suggest widget showing or...
Read more >Visual Studio IntelliSense Not Working? What To Do.
If all of the above didn't work, it's time to verify some configurations in Visual Studio itself. Go to Tools -> Options ->...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Following issue #5782 for spyder=3.2.6 and python 3.6.3 Anaconda, Windows 8.1 x64:
pip uninstall enum34 restarting spyder
was able to solve my problem with missing autocomplete.
@EonSin Thanks a million for the hint with enum34! I uninstalled it with pip and code completion works perfectly after restarting spyder.
Spyder 3.3.0, Python 3.6.3 Anaconda, Windows 7 x64