neoclide / coc-tabnine

Tabnine integration of coc.nvim
468 stars 18 forks source link

How to get Tabnine Hub's url. #83

Open nekowasabi opened 1 year ago

nekowasabi commented 1 year ago

I want to open TabNine Hub with CocCommand tabnine.openHub from a server connected via SSH, but I cannot open the browser from the terminal.

I can do SSH tunneling and force open the site with 127.0.0.1:1123, but I cannot configure TabNine because the URL does not contain a secret key.

It seems that getting the URL and opening the TabNine Hub page in a browser would solve the problem (cmp-tabnine can get the URL so I could set it up), but how can I get the TabNine Hub URL after running CocCommand tabnine.openHub How can I get the URL of TabNine Hub after running CocCommand tabnine.openHub?

hexh250786313 commented 1 year ago

Input text "TabNine::config" in any buffer, then trigger completion. Tabnine will return the url. But it failed sometimes.