TommyX12 / company-tabnine

A company-mode backend for TabNine, the all-language autocompleter: https://tabnine.com/
MIT License
685 stars 52 forks source link

Semantic completion not working with `clangd` #55

Open jonpalmisc opened 3 years ago

jonpalmisc commented 3 years ago

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).

karta0807913 commented 3 years ago

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