Creates an extension that enables or disables languageData-based autocompletion.
A CodeMirror facet that contains the ID of the note currently open in the editor.
Access the value of this facet using
const noteIdFacet = editorControl.joplinExtensions.noteIdFacet;
const editorState = editorControl.editor.state;
const noteId = editorState.facet(noteIdFacet);
								A CodeMirror StateEffect that is included in a Transaction when the note ID changes.
Returns a CodeMirror 6 extension that registers the given CompletionSource.
Use this extension rather than the built-in CodeMirror autocompletion
											if you don't want to use languageData-based autocompletion.
Using autocompletion({ override: [ ... ]}) causes errors when done by multiple plugins.
extension should be a CodeMirror 6 extension.
Points to a CodeMirror 6 EditorView instance.