mirror of
https://github.com/astral-sh/ruff.git
synced 2025-10-04 07:36:11 +00:00
Add code kind to Quick Fix action
This commit is contained in:
parent
0c215365ae
commit
bfdf972a5d
1 changed files with 1 additions and 1 deletions
|
@ -57,7 +57,7 @@ export default function SourceEditor({
|
||||||
.filter((check) => check.fix)
|
.filter((check) => check.fix)
|
||||||
.map((check) => ({
|
.map((check) => ({
|
||||||
title: check.fix
|
title: check.fix
|
||||||
? check.fix.message ?? `Fix ${check.code}`
|
? `${check.code}: ${check.fix.message}` ?? `Fix ${check.code}`
|
||||||
: "Autofix",
|
: "Autofix",
|
||||||
id: `fix-${check.code}`,
|
id: `fix-${check.code}`,
|
||||||
kind: "quickfix",
|
kind: "quickfix",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue