From 4d83779b2e28b28d5cee4102a41d00da16fa2dc1 Mon Sep 17 00:00:00 2001 From: Sem Bauke <46919888+Sembauke@users.noreply.github.com> Date: Tue, 27 Apr 2021 18:27:53 +0200 Subject: [PATCH] fix(curriculum): intellisense suggenstion box should not be visible (#41918) --- client/src/templates/Challenges/classic/Editor.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/src/templates/Challenges/classic/Editor.js b/client/src/templates/Challenges/classic/Editor.js index 91749d7172..c24f29f852 100644 --- a/client/src/templates/Challenges/classic/Editor.js +++ b/client/src/templates/Challenges/classic/Editor.js @@ -293,6 +293,11 @@ class Editor extends Component { }); } }); + // Overrides Intellisense suggestion box + editor.addCommand( + monaco.KeyMod.CtrlCmd | monaco.KeyCode.Space, + function () {} + ); editor.onDidFocusEditorWidget(() => this.props.setEditorFocusability(true)); // This is to persist changes caused by the accessibility tooltip. editor.onDidChangeConfiguration(event => {