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
You may also try reproduce the issue using clean environment using the following command: M-x lsp-start-plain
Bug description
lsp-mode treats . specially for many languages, as in, it provides completions immediately even though company-minimum-prefix-length isn't satisfied. Which makes sense of course. Unfortunately, lsp-mode loses completion after typing out the next symbol, instead of reducing them to ones that start with the symbol.
So e.g. foo. pops up completions, but foo.c kills the pop up even if there are candidates.
Thank you for the bug report
lsp-mode
related packages.M-x lsp-start-plain
Bug description
lsp-mode
treats.
specially for many languages, as in, it provides completions immediately even thoughcompany-minimum-prefix-length
isn't satisfied. Which makes sense of course. Unfortunately,lsp-mode
loses completion after typing out the next symbol, instead of reducing them to ones that start with the symbol.So e.g.
foo.
pops up completions, butfoo.c
kills the pop up even if there are candidates.Also asked as a question here: https://emacs.stackexchange.com/questions/80977/prevent-lsp-company-from-losing-completion-after-dot-symbol
Side note:
elgot
, the competitor mode, handles that correctly.Steps to reproduce
Create
/tmp/.emacs
as follows:Start emacs as
emacs -Q -l /tmp/.emacs test.py
Execute M-x lsp
Type
"".
A completion should appear
Type
c
to reduce completions to ones starting with that letterExpected behavior
Completions get reduced to ones starting with
c
, i.e.capitalize()
,casefold()
, etc.Which Language Server did you use?
lsp-python
,lsp-go
,clangd
.OS
Linux
Error callstack
No response
Anything else?
No response
The text was updated successfully, but these errors were encountered: