code completion context is only current query

This commit is contained in:
Jan Prochazka
2021-12-12 20:40:15 +01:00
parent 5e5a26ed4d
commit ccb25c9ff0
3 changed files with 13 additions and 3 deletions

View File

@@ -96,6 +96,11 @@
return '';
}
export function getCodeCompletionCommandText() {
if (currentPart != null) return currentPart.text;
return editor.getValue();
}
const requireEditorPlugins = () => {};
requireEditorPlugins();