codota / tabnine-jupyterlab

JupyterLab client for Tabnine. https://pypi.org/project/jupyterlab-tabnine/
https://www.tabnine.com/install/jupyterlab
36 stars 8 forks source link

Documentation is missing jupyterlab-specific details #8

Open githubpsyche opened 2 years ago

githubpsyche commented 2 years ago

After I install tabnine-jupyterlab using pip, my terminal indicates "No Tabnine binary found" whenever I edit a cell. I don't really know how I would install that because the only instructions available about setting up tabnine-jupyterlab are the pip command.

Even afterward, there's no guidance or demo about how to actually use tabnine once tabnine-jupyterlab is installed. Should I expect suggestions to show up as I type, with no extra work? Is pressing TAB going to add them to my notebook, or is some other workflow supported? How do I access and change settings for the tool like I would in VSCode? There's nothing in the README that explains these things.

At the moment, I think the typical user is left in the dark given the available documentation for this tool.

bilucodota commented 2 years ago

Hi @githubpsyche

Can you please provide information about your Jupyter stack (plugins + version) as well as the OS you're using?

Technically the plugin should work out of the box

hoopdev commented 2 years ago

Hi guys

I have the same issue on my windows machines. The problem is clear: the URL to download binary is not valid.

Begin to download Tabnine Binary from https://update.tabnine.com/bundles/3.5.54\AMD64-pc-windows-gnu/TabNine.zip
[I 2021-08-23 05:36:31.297 ServerApp] Registered jupyterlab_tabnine extension at URL path
[I 2021-08-23 05:36:31.297 ServerApp] jupyterlab_tabnine | extension was successfully loaded.
Download failed, error: HTTP Error 403: Forbidden

On mac, the URL was alright, and I could run tabnine-jupyterlab successfully. Thank you for the good work.

bilucodota commented 2 years ago

@hoopdev I've just released a fix for windows. Sorry for the hassle. Can you please try to upgrade and see if it works for you? appreciate your assistance pip install --upgrade jupyterlab_tabnine

hoopdev commented 2 years ago

@bilucodota Thank you. It worked.

Regarding the topic of this issue, it would be helpful if there are some clear descriptions about how to access the config server (Tabnine Hub), not only in the initially redirected page. Once seeing the config, we can tell how it works.