Completions docs UI shows docs for wrong completion
See original GitHub issueProblem Description
What steps reproduce the problem?
- Start Spyder in debug mode with Kite enabled and running (though I don’t think having Kite enabled/running is a requirement)
- Type the following:
import json
json.dumps$
- Highlight the first completion.
What is the expected output? What do you see instead?
Expected output: I would expect to see the docs for json.dumps
.
Actual output: I see the docs for json.dump
.
This issue seems intermittent and therefore leads me to believe this is a race condition in Spyder’s completions logic.
Versions
- Spyder version: 4.0.0.dev0
- Python version: 3.7.3 64-bit
- Qt version: 5.9.6
- PyQt version: 5.9.2
- Operating System name/version: Darwin 18.7.0
Dependencies
pygments >=2.0 : 2.4.2 (OK)
qdarkstyle >=2.6.4: 2.7 (OK)
sphinx >=0.6.6 : 2.1.2 (OK)
psutil >=0.3 : 5.6.3 (OK)
pyls >=0.27.0 : 0.28.0 (OK)
nbconvert >=4.0 : 5.5.0 (OK)
pandas >=0.13.1 : None (NOK)
numpy >=1.7 : None (NOK)
pympler >=0.7 : None (NOK)
sympy >=0.7.3 : None (NOK)
cython >=0.21 : None (NOK)
qtconsole >=4.5.5 : 4.5.5 (OK)
IPython >=4.0 : 7.8.0 (OK)
matplotlib >=2.0.0: None (NOK)
pylint >=0.25 : 2.3.1 (OK)
Issue Analytics
- State:
- Created 4 years ago
- Comments:11 (11 by maintainers)
Top Results From Across the Web
Autocomplete suggestions UI doesn't immediately show up ...
I'm returning a promise from provideCompletionItems() which resolves in a second or two. What I see. During the time the promise is resolving ......
Read more >Spyder : how to make completion and documentation pop-up ...
Show completion details; Show completions on the fly. "preferences/completion and linting/advanced" and unticking: enable Kite; enable fallback ...
Read more >Displaying Statement Completion - Visual Studio (Windows)
This walkthrough shows how to implement statement completion for a hard-coded set of identifiers. In full implementations, the language service ...
Read more >Vault Commands (CLI) - HashiCorp Developer
When you start typing a Vault command, press the <tab> character to show a list of available completions. Type -<tab> to show available...
Read more >User Manual - rust-analyzer
Whether to show postfix snippets like dbg , if , not , etc. rust-analyzer.completion.privateEditable.enable (default: false ). Enables completions of ...
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 FreeTop 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
Top GitHub Comments
It looks fixed to me.
This was fixed by PR #10262.