languageserver icon indicating copy to clipboard operation
languageserver copied to clipboard

Specify replacement regions to allow fuzzy completion suggestions

Open joiharalds opened this issue 4 years ago • 2 comments

Specify replacement regions for completion suggestions so fuzzy matching autocompletion engines can offer more flexible completion suggestions.

User can type data. and get the suggestion anyNA.data.frame then hit <CR> and the inserted result would be anyNA.data.frame. When the user tries to do this as of now the inserted result is data.anyNA.data.frame.

Reference: https://github.com/ms-jpq/coq_nvim/issues/303#issuecomment-925345045

joiharalds avatar Sep 24 '21 18:09 joiharalds

I cannot reproduce it in vscode. Looks like it is an editor specific issue?

renkun-ken avatar Sep 25 '21 00:09 renkun-ken

haha, not vscode means editor specific now,

anyways:

if you type in data.

here be one of suggestions:

图片

not sure how vscode handles this, but I feel like unless user has already typed in aggregate.data., this one shouldn't be there?

ms-jpq avatar Oct 02 '21 21:10 ms-jpq