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

Intellisense not working when iterating over typed collection #1494

Closed
malmaud opened this issue Aug 28, 2019 · 2 comments · Fixed by #1553
Closed

Intellisense not working when iterating over typed collection #1494

malmaud opened this issue Aug 28, 2019 · 2 comments · Fixed by #1553
Labels
bug Something isn't working

Comments

@malmaud
Copy link

malmaud commented Aug 28, 2019

This is with the daily download channel:

from typing import List

def f(xs: List[str]):
    for x in xs:
        x.

The string methods are not being suggested after x..

However, they are suggested after xs[0].

Screen Shot 2019-08-28 at 7 42 48 PM

@gramster gramster added the bug Something isn't working label Aug 30, 2019
@gramster
Copy link
Member

Thanks for reporting this. We will take a look.

CTrando added a commit to CTrando/python-language-server that referenced this issue Sep 2, 2019
MikhailArkhipov pushed a commit that referenced this issue Sep 16, 2019
* Handling unpacking with typing structures

* Removing changes to value enumerator

* Test fix, formatting

* Refactors

* Handling nested structures

* Handles non typing lists and tuples

* Giving up on fixing root problem, adding hack

* test fix

* Reverting change to test and fixing test

* Update syntax

* Checking #1494

* Handling #411 as well

* multiple assignment + unpacking fixes #1293

* Handling more cases with unpacking nested tuples

* merge fixes

* No default param for arg set, force people to use something
MikhailArkhipov pushed a commit that referenced this issue Sep 16, 2019
@MikhailArkhipov
Copy link

0.4.18+

jakebailey pushed a commit to jakebailey/python-language-server that referenced this issue Nov 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants