company-tabnine icon indicating copy to clipboard operation
company-tabnine copied to clipboard

Semantic completion not working with `clangd`

Open jonpalmisc opened this issue 3 years ago • 1 comments

I have followed the steps in the README to set up TabNine, and while it does work by itself, it does not seem to work with lsp-mode and clangd, even after typing TabNine::sem. I'm not sure what the issue is, since the *Messages* buffer, etc. do not report any errors. Please let me know how I can provide more info to help fix this.

Edit: For context, I'm on macOS 11, Emacs 28 w/ native-comp, using my own config (not Doom or Spacemacs).

jonpalmisc avatar Jun 22 '21 11:06 jonpalmisc

Hello, the company mode only support active one backend at one time. Maybe you can try my script tabnine-capf which combines company-capf and company-tabnine. Then you can use the lsp-mode normally, and don’t have to deal with tabnine::sem

karta0807913 avatar Aug 11 '21 11:08 karta0807913