Skip to content
This repository has been archived by the owner on Apr 14, 2022. It is now read-only.

Libraries completing general. #1182

Closed
CMLL opened this issue Jun 7, 2019 · 1 comment
Closed

Libraries completing general. #1182

CMLL opened this issue Jun 7, 2019 · 1 comment

Comments

@CMLL
Copy link

CMLL commented Jun 7, 2019

As mentioned in #1157
triggering an auto completion into a standard library or config search library shows the general completion list on LS version 0.2.98.0.

General results of triggering autocompletion on an empty string.
image

Results of triggering completion on hashlib, os and sys.
image

image

image

There was a moment when getting a completion of sys. got me a different result, which seemed correct, but that was maybe 1 in 15 or more attempts that worked, all other times it was like the above image.
image

The behaviour was the same if I forced the completion by pressing the key shortcut (Ctrl + Space) in my particular case (think that's the default one) or if I typed the . and let the completion happen organically.

Edit:
It also happens with recently declared variables. Same as with modules, most of the times it shows the incorrect completions and sometimes shows the correct ones.
image

Also happens with 0.2.96.

@MikhailArkhipov
Copy link

There are tests for this and 0.2 is long past. Feel free to reopen if it happens.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants