editor: disable word-based suggestions

This turns off the default word-based suggestions. This was useful when
we didn't have proper code completion but now can be distracting.

Fixes: https://github.com/pybricks/support/issues/757
This commit is contained in:
David Lechner
2022-10-25 13:48:02 -05:00
parent 255c18b744
commit 57c87da464
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -7,6 +7,10 @@
### Added
- Added feature to close editor tab on middle click ([support#758]).
### Removed
- Removed word-based autocompletion ([support#757]).
[support#757]: https://github.com/pybricks/support/issues/757
[support#758]: https://github.com/pybricks/support/issues/758
## [2.0.0-beta.8] - 2022-10-25
+1
View File
@@ -373,6 +373,7 @@ const Editor: React.VFC = () => {
contextmenu: false,
rulers: [80],
lineNumbersMinChars: 4,
wordBasedSuggestions: false,
}),
[],
);