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.

Calltips not showing in editor for some functions with Jedi 0.15

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

For some functions the calltip does not show up in the editor (but does in the console)

What steps reproduce the problem?

  1. import numpy as np
  2. Typing x = np.linspace( in
  • the console: shows the calltip
  • the editor: does not show the calltip

With other functions like np.arange the calltip shows up in both the editor and the console.

Versions

  • Spyder version: 4.1.1
  • Python version: 3.7.6
  • Qt version: 5.9.6
  • PyQt version: 5.9.2
  • Operating System name/version: Linux 5.5.10

Dependencies


# Mandatory:
atomicwrites >=1.2.0           :  1.3.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.3.0 (OK)
diff_match_patch >=20181111    :  20181111 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.13.0 (OK)
jedi =0.15.2                   :  0.15.2 (OK)
keyring                        :  None (OK)
nbconvert >=4.0                :  5.6.1 (OK)
numpydoc >=0.6.0               :  0.9.2 (OK)
parso =0.5.2                   :  0.5.2 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.0 (OK)
pygments >=2.0                 :  2.6.1 (OK)
pylint >=0.25                  :  2.4.4 (OK)
pyls >=0.31.9;<0.32.0          :  0.31.9 (OK)
qdarkstyle >=2.8               :  2.8 (OK)
qtawesome >=0.5.7              :  0.7.0 (OK)
qtconsole >=4.6.0              :  4.7.1 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.3 (OK)
sphinx >=0.6.6                 :  2.4.0 (OK)
spyder_kernels >=1.9.0;<1.10.0 :  1.9.0 (OK)
watchdog                       :  None (OK)
xdg >=0.26                     :  0.26 (OK)
zmq >=17                       :  18.1.1 (OK)

# Optional:
cython >=0.21                  :  None (OK)
matplotlib >=2.0.0             :  3.1.3 (OK)
numpy >=1.7                    :  1.18.1 (OK)
pandas >=0.13.1                :  None (OK)
scipy >=0.17.0                 :  1.4.1 (OK)
sympy >=0.7.3                  :  None (OK)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Apr 2, 2020

Ok, thanks @dalthviz!

1reaction
remisalmoncommented, Apr 2, 2020

I can reproduce @dalthviz’s tests: call_signatures on np.linspace does not work with jedi==0.15.2 but does with 0.16.0 (and 0.15.1 too…)

Read more comments on GitHub >

github_iconTop Results From Across the Web

jedi 0.15.1 - PyPI
Jedi is a static analysis tool for Python that can be used in IDEs/editors. Jedi has a focus on autocompletion and goto functionality....
Read more >
Jedi - Python autocompletions (hints) not showing methods or ...
Arguments of a function or method rely completely on type specification by docstrings. ... Editors can lookup find method of Soup class.
Read more >
arcpy and arcgis code completion in editor in spyder 4.xx
x.x I'm having some issues with getting code completion to work in the ... I'm on jedi 0.15.2 in my clone and have...
Read more >
End User Usage — Jedi 0.16.0 documentation
If your Editor/IDE is not among them, recommend Jedi to your IDE developers. ... This function setups readline to use Jedi in Python...
Read more >
Autocomplete
If you're still looking to save some typing time, Atom also ships with ... lets you view and insert possible completions in the...
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