From 9d00a6d033cca5d9d6baf5bbfe37f4b0021526b0 Mon Sep 17 00:00:00 2001 From: Matt Parker <61717342+MattParkerDev@users.noreply.github.com> Date: Wed, 8 Oct 2025 22:54:19 +1000 Subject: [PATCH] Update SharpIdeCodeEdit.cs --- src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs index 6ebd368..07e2702 100644 --- a/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs +++ b/src/SharpIDE.Godot/Features/CodeEditor/SharpIdeCodeEdit.cs @@ -123,6 +123,7 @@ public partial class SharpIdeCodeEdit : CodeEdit _ = Task.GodotRun(async () => { var affectedFiles = await RoslynAnalysis.ApplyCodeActionAsync(codeAction); + // TODO: This can be more efficient - we can just update in memory and proceed with highlighting etc. Save to disk in background. foreach (var (affectedFile, updatedText) in affectedFiles) { await Singletons.FileManager.UpdateInMemoryIfOpenAndSaveAsync(affectedFile, updatedText);