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.

Local code not shown in Kite completions

See original GitHub issue

Problem Description

Kite provides function completions for functions defined in a local file that is referenced/imported into the current file.

What steps reproduce the problem?

create a file things.py with the following content:

one = 1

def two():
        return 2

class Three:
        me = "3"

create another file test.py in the same directory

in test.py type

from things import one, two, Three

On a new line, type:  two().  (period at the end)

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

Expected: Completions should show int methods including real, imag, and bit_length Actual: Shows nothing

See video: https://www.screencast.com/t/CJqsVt04Hu2

Versions

  • Spyder version: latest spyder beta
  • Python version:
  • Qt version:
  • PyQt version:
  • Operating System name/version:

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
itsdhungcommented, Oct 1, 2019

Got it. We can dig into this in the coming weeks.

0reactions
plunggcommented, Nov 1, 2019

@metalogical can you take a look at this?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Kite is saying farewell - Code Faster with Kite
We have stopped working on Kite, and are no longer supporting the Kite ... understand the structure of code, such as non-local context....
Read more >
Spyder does not autocomplete local variables - Stack Overflow
When I'm starting to write a variable name which was already declared, and press TAB (this is the default shortcut), I get nothing....
Read more >
Programmers outraged after coding startup Kite ... - Quartz
Programmers outraged after coding startup Kite infiltrated open-source projects to market its products.
Read more >
Kite AI coding pulled down to earth because 'our 500k ...
Founder Adam Smith posted last week to say officially that “we have stopped working on Kite and are no longer supporting the Kite...
Read more >
Code completion | PyCharm Documentation - JetBrains
However, PyCharm does not recognize the structure of such files, and suggests ... The images below show basic code completion for the following...
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