Disable word-based suggestions in CodeEditor

This commit is contained in:
Simon Larsen 2023-12-19 12:46:34 +00:00
parent 9a09b6562d
commit fad319016b
No known key found for this signature in database
GPG Key ID: AB45983AA9C81CDE

View File

@ -160,7 +160,7 @@ const CodeEditor: FunctionComponent<ComponentProps> = (
showFoldingControls: 'mouseover',
smoothScrolling: false,
suggestOnTriggerCharacters: true,
wordBasedSuggestions: true,
wordBasedSuggestions: 'off',
wordSeparators: '~!@#$%^&*()-=+[{]}|;:\'",.<>/?',
wordWrap: props.type === CodeType.Markdown ? 'on' : 'off',
wordWrapBreakAfterCharacters: '\t})]?|&,;',