microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.58k stars 901 forks source link

Hot Exit in Workspaces #21814

Open mad4hit opened 1 year ago

mad4hit commented 1 year ago

Steps to Reproduce:

  1. Open a workspace
  2. Create e temp file
  3. Close azure data studio

Does this issue occur when all extensions are disabled?: Yes

When i'm in a workspace i'm not enable anymore to use temp files , every file need to be saved or i'll lost it. In settings of workspace there isn't the possibility to to set the files.hotExit.

kburtram commented 1 year ago

@mad4hit I'm missing something in the repo. When I open a workspace, create a temp file, close ADS, then reopen ADS the temp file is restored and I'm not asked to save it during this process. Am I missing some detail in the repo?

mad4hit commented 1 year ago

Hi @kburtram, the problem occurs if you open a second workspace then i create a temp file and i try to close the second one, or if you have an open workspace and try to open a second one in substitution. I attach a video, i hope it self-explain.

https://user-images.githubusercontent.com/5448105/226494795-e0025363-621f-4d1e-aa3a-6cb3756cd50f.mp4