Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Query Tab won't close #8308

Closed
martin-guth opened this issue Nov 12, 2019 · 2 comments
Closed

Query Tab won't close #8308

martin-guth opened this issue Nov 12, 2019 · 2 comments

Comments

@martin-guth
Copy link

@martin-guth martin-guth commented Nov 12, 2019

  • Azure Data Studio Version: 1.13.0 (user setup)
  • OS Version: Windows 7 Professional Service Pack 1

Steps to Reproduce:

I have a query file which always open as Azure Data Studio comes up. However I don't want to see that query opened any more. So I clicked "Close"....a dialogue comes up asking me if I would like to save changes. Whatever I select here (Save, Don't save) the tab just doesn't close. I uninstalled Azure Data Studio, did a reboot, reinstalled it and that query magically comes up again (even if the underlying file is deleted!). I can run it on SQL, I can kill the session...try to close it again...nothing seems to work.

How do I get rid of this tab automatically opened?

@alanrenmsft

This comment has been minimized.

Copy link
Contributor

@alanrenmsft alanrenmsft commented Nov 12, 2019

@martin-guth I believe the state information is saved in the azuredatastudio folder under %appdata% (type this in the address bar of file explorer). based on your description, I am assuming you don't care about setting changes you've made. you can rename the azuredatastudio folder to something else just in case you want something back, then start ADS.

@martin-guth

This comment has been minimized.

Copy link
Author

@martin-guth martin-guth commented Nov 13, 2019

@alanrenmsft Thanks renaming AppData/Roaming/azuredatastudio did the trick for me. ADS starts up fresh with no query reopening.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
3 participants
You can’t perform that action at this time.