New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use company-tabnine with c-c++ layer #12920
Comments
I was working on TabNine backend
In addition, if you're using lsp, it be also overridden by here: |
The reason why I didn't merge the PR above is TabNine without semantic completion was terrible. |
@sei40kr Thank you for the reply. After I filed this issue, I made a further try by slightly modifying two 'add-company-backends' lines in layers/+lang/c-c++/packages.el, adding company-tabnine to the argument. I think it's very dirty, but it works fine. How ever this method only works for the c-c++ layer, I still can't use tabnine when writing other languages like python. I believe it relates to the completion layer as you mentioned, but that's really beyond my knowledge. Looking forward to your ultimate solution. Thank you very much. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Please let us know if this issue is still valid! |
Hi. I'm new to emacs, and thanks a lot for the amazing work of spacemacs. Recently I got a problem when working with c-c++ layer and company-tabnine. The problem is that, when I use c-c++ layer, it seems to override the company-backends I set in my .spacemacs file, so I cannot use tabnine as the company backend. I did some web search and dived into c-c++ layer's code, but I can't figure out how to solve it.
I'm grateful for any suggestions.
The text was updated successfully, but these errors were encountered: