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.

Auto completion for imports is wrong

See original GitHub issue

To me this has turned out to be an annoying issue and I’d switch back to Jedi. I’ve been using the analysis engine for a while, but never came across this issue. I guess I haven’t been writing new code (with imports).

Steps:

  • Use new analysis engine
  • Write the line import sy
  • Auto completion is wrong, and out of habit (of using Jedi) I just hit Enter and get the wrong text in imports screen shot 2018-05-24 at 4 47 28 pm

Here’s the auto completion for Jedi screen shot 2018-05-24 at 4 48 25 pm

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
MikhailArkhipovcommented, May 29, 2018

@DonJayamanne please try fresh build

0reactions
DonJayamannecommented, May 29, 2018

@brettcannon thanks,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Autoimport fails when Autocomplete is invoked quickly #106361
Steps to Reproduce: Start typing an import name that has not yet been imported, to bring up the Autocomplete menu; Quickly hit Tab...
Read more >
Fix Python Relative Imports and Auto-completion in VSCode
In this video, you will learn how to properly handle Python relative imports without extending the sys.path. Additionally, you will learn ...
Read more >
Python Intellisense VSCode Wrong Autocomplete Imports ...
But VSCode Intellisense keeps correcting me to from api.app.modules... - which doesn't work (Flask gives me an Import Error).
Read more >
Fixing ES 6+ Import Autocompletion in Visual Studio Code
importModuleSpecifierEnding" is set to "auto" and is therefore unpredictable. With the change to: "javascript.preferences.
Read more >
Autocompletion doesn't work when __init__.py contains ...
Autocompletion doesn't work when __init__.py contains __all__ but doesn't import the modules themselves ; Project, PyCharm ; Priority, Major M ; Type, Bug...
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