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

Preset connections

Open pbugnion opened this issue 6 years ago • 2 comments

It would be nice for users to be able to save connections. Initially, this could be through a configuration file?

pbugnion avatar Feb 23 '19 17:02 pbugnion

Could you please elaborate, how do you think this could be achieved by using a configuration file? Where it should be stored? How it should be implemented into the rest of the code?

sitalk avatar Jun 17 '19 07:06 sitalk

I concur, this would be nice. I see 2 options to explore:

  • one is to use the jupyter notebook configuration file (jupyter_notebook_config.py) usually stored in user's .jupyter folder (See https://jupyter-notebook.readthedocs.io/en/stable/config_overview.html). Other JupyterLAb extensions (suchas the Template extension) use this already.
  • the other one is to use the Advanced Settings Editor in JupyterLab, where user could edit and store their connection strings. Again, other extensions (Code Mirror, Github for example) use this too.

bkandel-edf avatar Nov 01 '19 21:11 bkandel-edf