-
Notifications
You must be signed in to change notification settings - Fork 216
Closed
astral-sh/ruff
#20021Labels
bugSomething isn't workingSomething isn't workingserverRelated to the LSP serverRelated to the LSP server
Description
LSP functionality associated with looking up a function's signature is seemingly cached based on the raw type signature of a function. This affects goto-* on keyword arguments and docstrings for signature_help (notably not docstrings for hovering the function name!).
I'm fairly confident this is specifically a caching bug because the problem never appears in cursor tests, but does appear in an IDE. That is, if you check these queries in a cursor test it works perfectly, but if you try it in an IDE then all functions that share a signature (in a file?) suddenly have conflated info.
def my_func(x, y):
'''my cool func'''
def my_other_func(x, y):
'''some other func'''
my_func(x=0, y=1)
my_other_func(x=0, y=1)Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingserverRelated to the LSP serverRelated to the LSP server