feat(plugins): let a code action create, rename and delete files (#1778)

A new optional file-actions export (worlds plugin-file-actions / file-actions-provider, API 1.3) lists quick fixes whose operations (create with text, rename, delete) and text edits are applied as one workspace edit, so a failure changes nothing and one undo reverses it; paths stay inside the project root, and `open` shows a file once the action is applied. Like providers' code actions, an action can carry only `data` and get its operations from `resolve` when picked.

Co-authored-by: arnaud-ritti <[email protected]>
Цей коміт міститься в:
Arnaud Ritti authored and GitHub committed 2026-11-07 21:24:50 +08:00
1 джерело 1ab4edc0d7
коміт 25d930b780
58 files changed
+896 -52

No files matched your search

Бінарний файл не відображається.
+1 -1
Переглянути файл
@@ -1 +1 @@
8ae2a72ec23163926bac3914f4b27a429598982cd12f42f985df10e920942fdb
73b65742330387b7dbf498c6ec275ab41a55475243d771c1274de70b939c327f