From 0c8245a2674797571d22614b21c286a3d46685ec Mon Sep 17 00:00:00 2001 From: nikhil-CLTI Date: Fri, 9 Oct 2026 17:03:02 -0700 Subject: [PATCH] docs: add code action videos to IDE features docs (Part of #2040) --- website/docs/IDE-features.mdx | 31 +++++++++++++++--- .../static/videos/code-action-add-import.mp4 | Bin 0 -> 88493 bytes .../static/videos/code-action-remove-cast.mp4 | Bin 0 -> 60525 bytes 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 website/static/videos/code-action-add-import.mp4 create mode 100644 website/static/videos/code-action-remove-cast.mp4 diff --git a/website/docs/IDE-features.mdx b/website/docs/IDE-features.mdx index 36cb6c689e..771fb4c40b 100644 --- a/website/docs/IDE-features.mdx +++ b/website/docs/IDE-features.mdx @@ -229,10 +229,33 @@ Code actions are automated fixes and refactorings that Pyrefly offers through yo When Pyrefly detects a type error, it may offer a quick fix — a one-click resolution available via the lightbulb menu (Cmd+. / Ctrl+.). Currently supported: -| Quick fix | Description | -|---|---| -| **Add missing import** | Automatically add an import statement for an unresolved name | -| **Remove redundant cast** | Remove a `typing.cast()` call where the argument already has the target type | +**Add missing import** + +Automatically add an import statement for an unresolved name. + +