I have installed
company-lsp and many other packages. When entering scala code, I often get popups to complete the method/class/variable name, which also add the relevant imports if needed.
However, this does not always happen. I am new to
lip-mode, so I am not sure how to debug what is going wrong. What are useful commands/settings to figure out what is going wrong when it is not working?
I have configured it with
;; lsp configuration (use-package lsp-scala :after scala-mode :demand t ;; Optional - enable lsp-scala automatically in scala files :hook (scala-mode . lsp))
There are lots of messages in *lsp-log* but none of them indicate any obvious to me.