kenkangxgwe / lsp-wl

A Wolfram Language Server
MIT License
214 stars 22 forks source link

The strange results given by the second complement behaviour of lsp-wl in vscode. #49

Closed hongyi-zhao closed 3 years ago

hongyi-zhao commented 3 years ago

On Ubuntu 20.04, I use lsp-wl with the latest stable version of vscode. I find a strange completion behaviour as described below:

Firstly, we type \ and some character, say, f, as shown below:

image

Then, we click on Backspace to delete the f, and re-type f. This time, the pop-up window of the completion entries will look like below:

image

As you can see, they are different. Any hints for this problem?

Regards, HY

kenkangxgwe commented 3 years ago

The current implementation only triggers aliases if you type \ once, so hitting backspace will interrupt further completion. I can make an enhancement around this. Thanks for the feedback!

kenkangxgwe commented 3 years ago

Fixed in 660b816884ad7d74a668ecf876ddfc5df9ae38a9