question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

The code completion in the editor is not working

See original GitHub issue

Description

What steps will reproduce the problem?

  1. type “import os”
  2. type long_name_for_completion = 1
  3. type long_name, press tab (or control + space), nothing happens.
  4. 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:closed
  • Created 6 years ago
  • Comments:17 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
EonSincommented, Jan 24, 2018

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.

1reaction
thomikocommented, Aug 8, 2018

@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

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found