дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-05 01:31:41 +02:00
With basedpyright (and pyrefly), Find Usages, Show Usages and the usages lens found nothing for a Python method that overrides a base-class method, and Safe Delete removed it without asking. The server binds a call to the declaration on the receiver's static type, so `repo.save()` with `repo: Repository` is a reference of `Repository.save` only. Usages of an override now also include the references of the methods it overrides, found through the IDE's Python inheritance graph (as Super Method and the override gutter do). `super()` calls are left out, since they run the base method from an override; constructors are not included. The extra searches run one after another under the caller's request id, so cancelling stops them; a failed base search keeps the own usages and marks the result incomplete, and Safe Delete refuses then. Other languages take no new path. Co-authored-by: janoskranczler <[email protected]>