Azuredatastudio: Colorize query editor tab based on group color

Created on 14 Dec 2017  路  10Comments  路  Source: microsoft/azuredatastudio

  • SQL Operations Studio Version:

Steps to Reproduce:
Colorize query editor tab based on group color.If i have a group called REMOTE-SERVERS which has red color,if i open the query editor ,the editor header should be read to.SQL Prompt has this feature.

Area - Query Editor Enhancement

Most helpful comment

@gh0st have you tried setting "sql.tabColorMode": "fill"? It looks like the feature's working as expected on the latest insiders build, as far as I can tell.

image

All 10 comments

there is another issue opened here also complains about the lack of ease to see which server you are connected to. This would be nice, for example when you have server groups for Dev, Staging, Prod. Right now if i have two query windows open its hard to tell which server the tab is connected to. Maybe put a border around the tab with the same color as the server group. I know if its got a Red border, im in prod, green border means Dev etc

Have just setup SQLOps using v0.25.4 with the Monokai theme.

The tab coloring is very different from the server group. Almost to the point of not being able to see the difference. See the attached screen snippet
sqlops_tab_color

Cheers
Phil

@philcart we set the opacity of the fill color to something like ~25% based on feedback from our UX designer . This was actually one reason we added the "border" mode which should match the server group color exactly.

@MattIrv I wonder if we should make the "fill" color opacity configurable as a setting. Obviously if most users want the color to match exactly we should make 100% opacity the default.

Here's another comment we got about tab coloring, specifically the lack of it in high contrast mode: https://github.com/Microsoft/sqlopsstudio/pull/452#issuecomment-360153244

I'll close this now based on the Tab Coloring work we did a couple releases ago. Please open specific issues for any problems in the current feature implementation.

I'm not getting any tab coloring at all.

Version 0.31.4
Commit e026ab85a72c190cc4ccc834503aa9fe36dd6407
Date 2018-07-18T02:14:21.826Z
Shell 1.7.12
Renderer 58.0.3029.110
Node 7.9.0
Architecture x64

And of course I've organized my servers into server groups.

@gh0st have you tried setting "sql.tabColorMode": "fill"? It looks like the feature's working as expected on the latest insiders build, as far as I can tell.

image

Cool.I will try it out,

@kburtram that was it, thank you!

@kburtram do you know if this is available "out of the box" for Azure Data studio? Set a group and the tabColorMode to both fill and border, but no luck

Was this page helpful?
0 / 5 - 0 ratings

Related issues

stevenreddie picture stevenreddie  路  3Comments

CubsRep picture CubsRep  路  3Comments

kburtram picture kburtram  路  3Comments

haydnlj picture haydnlj  路  3Comments

RobLW picture RobLW  路  3Comments