Skip to content

Commit 62d7fdf

Browse files
committed
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: pybricks/support#894
1 parent 7d5c971 commit 62d7fdf

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

CHANGELOG.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,14 @@
55
## [Unreleased]
66

77
### Changed
8-
- Code completion trigger improvements.
8+
- Code completion trigger improvements ([support#894]).
99

1010
### Fixed
1111
- Fixed terminal layout issues when resizing window vertically.
1212
- Fixed editor find widget visible over modal dialogs.
1313

14+
[support#894]: https://github.com/pybricks/support/issues/894
15+
1416
## [2.1.0-beta.3] - 2022-12-28
1517

1618
### Changed

src/editor/sagas.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -606,7 +606,7 @@ function* runJedi(): Generator {
606606
const subscription = monaco.languages.registerCompletionItemProvider(
607607
pybricksMicroPythonId,
608608
{
609-
triggerCharacters: ['.', ' '],
609+
triggerCharacters: ['.'],
610610
provideCompletionItems(
611611
model,
612612
position,

0 commit comments

Comments
 (0)