cmoog / vscode-sql-notebook

Open SQL files as VSCode Notebooks.
https://marketplace.visualstudio.com/items?itemName=cmoog.sqlnotebook
MIT License
129 stars 18 forks source link

Is there a way to check/manually edit/export a stored DB config ? #65

Closed yw662 closed 1 year ago

yw662 commented 1 year ago

DB configured with sql-notebook is not stored in the user settings file, and the UI provides only creation and deletion. What if a user wants to manually edit a configured DB if it is hard to find where it is physically stored ?

cmoog commented 1 year ago

At present, it is not possible to modify connection configurations through the UI. I agree this is sometimes desirable and would be a useful feature.

It also is not possible to export them. Ideally, the entirety of the configuration (except the password) would be accessible from the side bar.

I have long considered potential ways of implementing configurations stored in yaml files, but haven't yet landed on an approach that is clean and simple for the basic use case.