-
Notifications
You must be signed in to change notification settings - Fork 219
Closed
astral-sh/ruff
#22436Labels
bugSomething isn't workingSomething isn't workingcompletionsBugs or features relating to autocomplete suggestionsBugs or features relating to autocomplete suggestionsserverRelated to the LSP serverRelated to the LSP server
Milestone
Description
Summary
Hello,
I've found a case where autocomplete won't work even tho the type of the variable is clear. It is when I iterate over a list, the variable attributes are not autocompleted inside the for loop:

i type is correctly detected as Unknown | A and I can even go to definition of its attributes, but autocomplete doesn't work. Here's the playground link: https://play.ty.dev/80851291-8503-4aaf-b5aa-f286949c820b
Thanks for this amazing LSP! :)
Version
0.0.6
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingcompletionsBugs or features relating to autocomplete suggestionsBugs or features relating to autocomplete suggestionsserverRelated to the LSP serverRelated to the LSP server