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
+3 -1
View File
@@ -5,12 +5,14 @@
## [Unreleased]
### Changed
- Code completion trigger improvements.
- Code completion trigger improvements ([support#894]).
### Fixed
- Fixed terminal layout issues when resizing window vertically.
- Fixed editor find widget visible over modal dialogs.
[support#894]: https://github.com/pybricks/support/issues/894
## [2.1.0-beta.3] - 2022-12-28
### Changed
+1 -1
View File
@@ -606,7 +606,7 @@ function* runJedi(): Generator {
const subscription = monaco.languages.registerCompletionItemProvider(
pybricksMicroPythonId,
{
triggerCharacters: ['.', ' '],
triggerCharacters: ['.'],
provideCompletionItems(
model,
position,