Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Spyder does not support code-completion and does not show help since update to version 3.1.4 #4476

Closed
msgnaf opened this issue May 15, 2017 · 1 comment

Comments

@msgnaf
Copy link

msgnaf commented May 15, 2017

Description of your problem

I'm experiencing issues with the interactive help pane (View -> Panes -> Help). Before updating Anaconda I was able to show object documentation for any object pressing Ctrl+I (inspect current object). This was especially important for me since I also was able to see my own docstrings for my modules in this pane. I am also no more able to use code-completion (I checked that I use the correct keyboard-shortcut Ctrl+space).

What steps will reproduce the problem?

  1. Simple code sample that was previously shown nicely formatted in the help pane when pressing Ctrl+I to inspect the function (with the cursor between the braces of test_fun() ):

    def test_fun():
        """This is my testfunction.
        
        Parameters:
            None
        Returns:
            ret : The return value.
                str
        """
        ret = "MyTestFunction"
        return ret
    

What is the expected output? What do you see instead?

I expect the help pane to properly show me the docstring in a nice format. I also expect auto-completion when pressing Ctrl+Space. Current behaviour when pressing Ctrl+I to inspect an object: The help pane switches to a blank screen and the source dropdown switches to "Editor". Behavior when pressing Ctrl+Space when the cursor is behind a string like "test_fu": Nothing happens. There is also no dropdown for possible completions.

Versions and main components

  • Spyder Version: 3.1.4
  • Python Version: 3.6.1 (Anaconda version 4.3.17)
  • Qt Version: 5.6.2
  • PyQt Version: PyQt5 5.6
  • Operating system: Windows 7

Dependencies

jedi >=0.9.0 : 0.9.0 (OK)
matplotlib >=1.0 : 2.0.1 (OK)
nbconvert >=4.0 : 5.1.1 (OK)
numpy >=1.7 : 1.12.1 (OK)
pandas >=0.13.1 : 0.19.2 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pyflakes >=0.6.0 : 1.5.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
pylint >=0.25 : 1.6.4 (OK)
qtconsole >=4.2.0: 4.3.0 (OK)
rope >=0.9.4 : 0.9.4-1 (OK)
sphinx >=0.6.6 : 1.5.4 (OK)
sympy >=0.7.3 : 1.0 (OK)

@ccordoba12
Copy link
Member

Thanks a lot for your report. This is essentially a duplicate of issue #4410.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants