Add server environment coloring in query designer
It would be awesome to be able to define along with every database connection some description, and custom color, which will then be shown in some corner in query designer.
It is usefull to warn you when you are accessing development, test or production database (or any other depending on the message you provided with connection string).
That way you can easily see, green means I'm good, red means extra carefull. Much safer than to accidentaly query the wrong database and alter the production data by accident.
-
Union Palenshus commented
We keep all our DBs (prod/staging/canary) in one connection, it'd be awesome if I could flag a specific DB as production instead of the entire connection. Thanks!
-
Goran Genter commented
Yeah, this what we have now is pretty awesome, but I would like custom coloring. It's not that hard to implement since color can be stored with connection info, like the current "production" flag.
I would like to be able to distinct between development and test systems too, not only production.
-
Brendan Thompson commented
Really hope Joe allows for custom coloursin this one!!
-
Simon Lawrence commented
http://stackoverflow.com/questions/22019885/linqpad-running-custom-code-before-each-query the new beta might help with this.
"Beta: LINQPad v4.48.02
You can now flag a connection as 'Production', via the connection properties dialog (or directly from the context menu). The editor then displays an orange warning banner on the left margin whenever you use that connection, to remind you that you're working with production data." -
Phillip Wilkie commented
Great Idea
-
Brendan Thompson commented
I was just about to submit this one!! Definitely an important thing to have!