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

JupyterLab

Open paul-harambee opened this issue 5 years ago • 14 comments

Any chance we can get this working in JupyterLab?

paul-harambee avatar Oct 24 '19 14:10 paul-harambee

Thank you for this wonderful extension. A JupyterLab extension would be immensely helpful, especially given that with the release of JupyterLab 1.0, there's official confirmation that JupyterLab "will eventually replace the classic notebook".

shreyasgm avatar Oct 25 '19 19:10 shreyasgm

@paul-harambee @shreyasgm Thanks for your suggestions, I will create a branch and work on support for JupyterLab

wenmin-wu avatar Nov 13 '19 02:11 wenmin-wu

@wenmin-wu do you think a jupyterlab extension would be a lot of work? i love tabnine, thinking about setting it up on my jupyterlab cluster, happy to help if there's some way I can

snickell avatar Mar 20 '20 13:03 snickell

Hi @snickell , thanks for your interest, won't be a lot of work. However, jupyterlab use TypeScript instead of JavaScript. I'm not sure whether we can use JavaScript since TypeScript code will be compiled to JavaScript before executing.

If it only supports TypeScript, we need to change the front-end part to TypeScript. https://github.com/wenmin-wu/jupyter-tabnine/tree/master/src/jupyter_tabnine/static. For this you can refer https://github.com/codota/tabnine-vscode.

The server part can be reused. You can take this repo https://github.com/dask/dask-labextension as an example.

wenmin-wu avatar Mar 27 '20 08:03 wenmin-wu

@wenmin-wu hi! I have done a little research, and it looks like we can use javascript no problem, I'll keep looking into what is involved

snickell avatar Mar 30 '20 04:03 snickell

More information: I was able to make a hello-world jupyterlab extension using Javascript (not typescript). They don't give examples, but its not a problem, you can import their libraries in either javascript or typescript, that is all that is required to make an extension

snickell avatar Mar 30 '20 04:03 snickell

Hi @snickell , good to know this, then I think we don't need so much effort to support JupyterLab. Could you please put your demo in a public GitHub repo. I want to have a look:)

wenmin-wu avatar Mar 30 '20 09:03 wenmin-wu

Any update on jupyterlab extension? Thanks!

forest520 avatar May 27 '20 03:05 forest520

Hullo, I'd like to help out with this! I wonder if any progress not mentioned here has already been made - if not, I'll just go ahead and start with what's here.

githubpsyche avatar Nov 10 '20 15:11 githubpsyche

Hi @wenmin-wu , any progress on jupyterlab extension? really love the extension, so that's the only reason keeping me still on notebook rather then transitioning to lab

iploshchik avatar Jan 22 '21 17:01 iploshchik

Any update on the jupyterlab extension? I much prefer jupyterlab (currently using vscode just because I don't like fake dark modes on notebook).

KLonge avatar Feb 23 '21 10:02 KLonge

@wenmin-wu any update on the jupyterlab extension? It would be really cool to have it!

pacospace avatar Mar 02 '21 09:03 pacospace

Is there any idea how far out this feature is on the roadmap?

oameye avatar Aug 12 '21 10:08 oameye

Hi All, we just released a jupyterlab extension https://github.com/codota/tabnine-jupyterlab 🎉

dimacodota avatar Aug 18 '21 18:08 dimacodota