editor/sagas: disable code completion trigger on space

This gets in the way when typing comments and often results in
accepting a completion that was not intended.

Fixes: https://github.com/pybricks/support/issues/894
This commit is contained in:
David Lechner
2022-12-30 16:07:52 -06:00
parent 7d5c9710e5
commit 62d7fdff36
2 changed files with 4 additions and 2 deletions
+1 -1
View File
@@ -606,7 +606,7 @@ function* runJedi(): Generator {
const subscription = monaco.languages.registerCompletionItemProvider(
pybricksMicroPythonId,
{
triggerCharacters: ['.', ' '],
triggerCharacters: ['.'],
provideCompletionItems(
model,
position,