gdscript_delete_file
Notify Godot's LSP when a GDScript file is deleted to remove it from analysis and clear stale diagnostics.
Instructions
Notify Godot's LSP that a file was deleted from the project. Returns: confirmation of deletion. WHEN TO CALL: After deleting a .gd file from disk. Ensures LSP removes the file from its analysis and clears stale diagnostics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| file | Yes | Absolute or relative path to the deleted .gd file |