Add comment

This commit is contained in:
Matt Parker
2026-01-22 18:10:55 +10:00
parent 0a7552375b
commit 19f9d07bf6

View File

@@ -428,6 +428,7 @@ public partial class SharpIdeCodeEdit : CodeEdit
TextChanged -= OnAction;
Callable.From(() => RequestCodeCompletion(true)).CallDeferred();
}
// TODO: This is flawed - we currently retrieve completions after TextChanged fires, but OnTextChange returns before the workspace is actually updated, so we may ask for completions for stale text.
TextChanged += OnAction; // We need to wait for the text to actually change before requesting completions
}
}