jupyterlab-lsp
jupyterlab-lsp copied to clipboard
Open definition in an external editor
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
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).
It looks like opening files in external program is possible with https://github.com/martinRenou/jupyterlab-fileopen.
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.
Also see: https://github.com/martinRenou/jupyterlab-fileopen