company-lsp
company-lsp copied to clipboard
Company completion backend for lsp-mode
rust-analyzer has better server-side logic, and in fact this fallback logic only applied when it was undesirable (e.g. when importing functions), because that's when RA doesn't return a snippet.
I set company-lsp-cache-candidates to t. For example, in a go-mode buffer, the content: ``` package "main" main () { ch| } ``` Cursor is at the char '|' and there...
Hi there, I get the following error in one of my projects: ~~~ Company: frontend company-preview-frontend error "Args out of range: #("$for" 0 4 (lsp-completion-item #s(hash-table size 65 test equal...
Let' say I declare a function `foo` in header file likes below `void foo(int* n);` // Note that the asterisk is on the type side But the signature of `foo`...
When all candidates share the same class/method name but differ in imports/method arguments, company inserts the common prefix among these, including the method/argument signatures. Examples: Given prefix `@NotNul` and candidates...
This issue was originally over at https://github.com/emacs-lsp/lsp-python-ms/issues/79, but upon investigation, it seems that it could be a problem with company-lsp. ### **OS and emacs version:** _I'm on macOS with Emacs...
Tracking bug for the feature.
We should always use the company-lsp cache otherwise company-mode will keep cache prefix->items which are not relevant to the current position.
Spin off from #39 Reported by @david: > I'm seeing a similar problem. I have this > > ![image](https://user-images.githubusercontent.com/293/39867323-5b452988-544c-11e8-88fb-43e35b734f36.png) > > and then I hit Tab, then Space, and I...