Tab colouring - Job Specific
The Tab Colouring system is brilliant, but I find that I am often working with more than one job at a time that are using the one Database. It would be of great benefit if I was able to Colour my Query Tabs based on which job they are for. i.e.: more than one colour available per Database.
Brian Johnson commented
I also like this idea--even if you had to reselect the tab colors after closing and re-opening the files it'd be nice to have.
Andrew Cairney commented
In my head, when you open a new Query Tab it would automatically be the default colour for that database, but the user would have an option to change this colour. Therefore, a database can have one default and a select number of colours available for use, not just one.
In saying that, I do like what you have suggested with a comment, or some marker, in the script that SQL Prompt could easily identify which colour to use.
That sounds interesting. What would indicate to the Tab Coloring system that this is "Job A" vs. "Job B"? How does it know to apply a different color--A special comment on the first line?