From 1b04e910ce061f94a241d84a742319a6c3c49b70 Mon Sep 17 00:00:00 2001 From: David Montero Crespo Date: Sat, 15 Aug 2026 21:31:01 +0200 Subject: [PATCH] fix(editor): quick suggestions stay alive inside snippet placeholders --- frontend/src/components/editor/CodeEditor.tsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/components/editor/CodeEditor.tsx b/frontend/src/components/editor/CodeEditor.tsx index 897407b6..8bb191d5 100644 --- a/frontend/src/components/editor/CodeEditor.tsx +++ b/frontend/src/components/editor/CodeEditor.tsx @@ -82,6 +82,10 @@ export const CodeEditor = () => { // than the editor pane slides UNDER the simulator canvas next // to it (sibling stacking context) and can't be read. fixedOverflowWidgets: true, + // Keep quick suggestions alive inside snippet placeholders: + // completing `#include <|>` or an if-condition placeholder must + // still offer suggestions while the snippet session is active. + suggest: { snippetsPreventQuickSuggestions: false }, }} />