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.

Kite (and LSP) completions frequently not displayed

See original GitHub issue

Problem Description

Kite (and LSP) completions frequently don’t show up:

  1. start Spyder in debug mode with Kite installed & running
  2. type the following
import numpy as np

np.ar‸
  1. backspace and type r repeatedly
  • sometimes no completions show up
  • sometimes ArithmeticError shows up (presumably from LSP?)
  • sometimes Kite completions show up
  • in all cases, you can see the Kite completions request returns very quickly, and the response is shown in the debugging output

I expect Kite completions (and LSP?) to always show up. As a separate issue, the completions ordering returned by Kite is not respected: I will create a separate issue to track this.

Versions

  • Spyder version: Spyder 4.0.0.dev0 (Commit: 11611776d)
  • Python version: 3.7
  • Operating System name/version: macOS

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:12 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
andfoycommented, Sep 17, 2019

This is a good idea! We could make Kite and LSP mutually exclusive so one doesn’t affect the other.

@goanpeca, please keep in mind that there are requests that only can be attended by LSP, such as go-to-definition and workspace-related calls

1reaction
goanpecacommented, Sep 17, 2019

This is a good idea! We could make Kite and LSP mutually exclusive so one doesn’t affect the other.

Yes!

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kite is a viral plugin that kills your system performance : r/Python
I am doing a PSA: Please be extra careful when you see Kite (the program auto-completor app). This app is atrociously bad for...
Read more >
Kite on Twitter: "@furiousape It's unfortunately not possible to ...
It's unfortunately not possible to disable PyCharm's completions entirely. Kite completions should show first but sometimes are reranked by PyCharm's ...
Read more >
Kite is saying farewell and open-sourcing its code
Is it perfect? No. But it works often and spits out code that's a good enough template or good enough, and is something...
Read more >
Programmers outraged after coding startup Kite ... - Quartz
Programmers discovered that Kite had quietly injected promotional content and data-tracking functionality into open-source apps. Not cool.
Read more >
spyder-ide/public - Gitter
Especially the kernel in threads and code completion fixes.. aqra Irfan ... Raf I agree Kite is not very good for using on...
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