diff options
Diffstat (limited to 'language-web/src/main/js/editor/EditorStore.ts')
-rw-r--r-- | language-web/src/main/js/editor/EditorStore.ts | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/language-web/src/main/js/editor/EditorStore.ts b/language-web/src/main/js/editor/EditorStore.ts index 32fe6fd1..dcc69fd1 100644 --- a/language-web/src/main/js/editor/EditorStore.ts +++ b/language-web/src/main/js/editor/EditorStore.ts | |||
@@ -79,7 +79,12 @@ export class EditorStore { | |||
79 | this.state = EditorState.create({ | 79 | this.state = EditorState.create({ |
80 | doc: initialValue, | 80 | doc: initialValue, |
81 | extensions: [ | 81 | extensions: [ |
82 | autocompletion(), | 82 | autocompletion({ |
83 | activateOnTyping: true, | ||
84 | override: [ | ||
85 | (context) => this.client.contentAssist(context), | ||
86 | ], | ||
87 | }), | ||
83 | classHighlightStyle.extension, | 88 | classHighlightStyle.extension, |
84 | closeBrackets(), | 89 | closeBrackets(), |
85 | bracketMatching(), | 90 | bracketMatching(), |