Skip to content

Quick fixes are unavailable in the playground for empty ranges #20594

@dscorbett

Description

@dscorbett

Summary

Quick fixes are only available in the playground when the cursor is within the range of code to be fixed. This makes it impossible to apply a quick fix to an empty range. Here is an example with W292. This used to work in previous versions.

Version

ruff 0.13.2 (b0bdf03 2025-09-25)

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingplaygroundA playground-specific issue

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions