Skip to content

Commit

Permalink
editor: disable word-based suggestions
Browse files Browse the repository at this point in the history
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: pybricks/support#757
  • Loading branch information
dlech committed Oct 25, 2022
1 parent 255c18b commit 57c87da
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 1 addition & 0 deletions src/editor/Editor.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -373,6 +373,7 @@ const Editor: React.VFC = () => {
contextmenu: false,
rulers: [80],
lineNumbersMinChars: 4,
wordBasedSuggestions: false,
}),
[],
);
Expand Down

0 comments on commit 57c87da

Please sign in to comment.