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 908 forks source link

Make removing drop database button in server explorer configurable #25980

Open mrange opened 1 month ago

mrange commented 1 month ago

Is your feature request related to a problem? Please describe. In version 1.47.1 of Azure Data Studio (ADS) included with SSMS 20.2.30.0, a trashcan icon appears next to the refresh button when hovering over a database name in the server explorer. Clicking this button drops the database. This functionality is anxiety-inducing, even with the confirmation dialog, as accidental drops can have serious consequences.

Describe the solution or feature you'd like A setting to hide or disable the trashcan (drop database) button from the server explorer's database list.

Describe alternatives you've considered Right now I use SSMS in production environments to keep the adrenaline at manageable levels

Additional context