jupyterlab-lsp icon indicating copy to clipboard operation
jupyterlab-lsp copied to clipboard

Open definition in an external editor

Open daliagachc opened this issue 3 years ago • 4 comments

Elevator Pitch

back in the day when using intellij idea and mathematica, there was in implementation that from the mathematica notebook (similar to the jupyter notebook) you could type a hotkey and open the definition in intellij. This feature was awesome when developing and i was wondering if it could possibly be implemented here.

Motivation

Design Ideas

daliagachc avatar Sep 28 '21 07:09 daliagachc

Thanks for the idea. This could be possible in JupyterLab Dekstop, but I don't see a simple general way to implement that for JupyterLab running in a browser (other than creating a dedicated extension for each browser, which would be difficult to maintain).

krassowski avatar Oct 10 '21 15:10 krassowski

It looks like opening files in external program is possible with https://github.com/martinRenou/jupyterlab-fileopen.

krassowski avatar Oct 13 '21 15:10 krassowski

The existing third party plugin sounds like it would be ideal... Would have to look into it, but if the command it offers is available from the "open with" menu, perhaps we can get a piece of it without having to do special cases... and support other, future openers, e.g. GitHub, something that works in a hub setting.

Alternately, we could leave a hook open to make the reference opener extensible, and PR a plugin to the third party to optionally support it.

bollwyvl avatar Oct 13 '21 16:10 bollwyvl

Also see: https://github.com/martinRenou/jupyterlab-fileopen

bollwyvl avatar Jan 02 '22 00:01 bollwyvl