EditorSuggest eats tabs and other characters - probably shouldn't?

You can indent the line by adding this in the constructor:

        this.scope.register([], "Tab", () => {
            const editor = this.context?.editor;
            if (editor) {
                editor.replaceRange("\t", {line: editor.getCursor().line, ch: 0});
            }
        });
1 Like