Description
This is a quality of life enhancement.
Please default new SQL cell creation to an already open connection. If multiple connection the last used connection in the cells. There there is not last used connection on a existing cells the last opened connection.
Are you willing to submit a PR? (You must receive approval from the team before submitting a PR.)
Alternatives
Set the connection to none and warn the connection is not set and needs to be set.
This behavior could be set in the settings.
Additional context
It is annoying to have to choose the connection every time you create a cell and it defaults to memory. You don't always remember to set this in the cell than you just assume it is the connection either the previous cell was using or the last opened. Then you keep wondering why things are not working just to realise the connection is wrong.
General workflow is you connect to the database once and then write all your queries. Each query does not need explicitly specifying the connection.
Description
This is a quality of life enhancement.
Please default new SQL cell creation to an already open connection. If multiple connection the last used connection in the cells. There there is not last used connection on a existing cells the last opened connection.
Are you willing to submit a PR? (You must receive approval from the team before submitting a PR.)
Alternatives
Set the connection to none and warn the connection is not set and needs to be set.
This behavior could be set in the settings.
Additional context
It is annoying to have to choose the connection every time you create a cell and it defaults to memory. You don't always remember to set this in the cell than you just assume it is the connection either the previous cell was using or the last opened. Then you keep wondering why things are not working just to realise the connection is wrong.
General workflow is you connect to the database once and then write all your queries. Each query does not need explicitly specifying the connection.