You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The above mentioned fork seems to have been deleted. For anyone else who had this problem, my solution was to change the following around line 584 of LocalEchoController.js:
} else if (candidates.length <= this.maxAutocompleteEntries) {
// search for a shared fragement
const sameFragment = getSharedFragment(inputFragment, candidates);
// if there's a shared fragement between the candidates
// print complete the shared fragment
if (sameFragment) {
const lastToken = getLastToken(inputFragment);
this.handleCursorInsert(
sameFragment.substr(lastToken.length)
);
}
to
} else if (candidates.length <= this.maxAutocompleteEntries) {
const lastInputToken = getLastToken(inputFragment);
// search for a shared fragement
const sameFragment = getSharedFragment(lastInputToken, candidates);
// if there's a shared fragement between the candidates
// print complete the shared fragment
if (sameFragment) {
this.handleCursorInsert(
sameFragment.substr(lastInputToken.length)
);
}
Hello
as the title says the autocomplete is pasting the whole command into the input instead of completing it.
Example:
My commands:
My Autocomplete:
The text in the input:
Results in:
Is there a nice and simple solution for that?
The text was updated successfully, but these errors were encountered: