How to change Instantiated Objects Font Colour in Visual Studio - visual-studio-2005

I know the colours are changed in Environment > Fonts and Colors but I haven't found out which Display Item the object is.
Can someone please tell how I can colour the following code:
lblMessage.Text = "You have successfully answered my question!"
I have the string coloured pink, I would like the lblMessage purple and the .Text a light green.
For me the darker the colour the less it will "change". I won't often change object names, I'll more often change properties and am always changing strings - although I have another question about this that I'll post later.
Thanks

Go to Environment > Fonts and Colors > Display Items and change
Identifier
String
I was hoping that their is I can be
more specific with the colours - if
their isn't then that's an acceptable
answer - just disappointing for me.
Yeah, I don't think you can do that. :)

This is possible if you use a 3rd party addin like Visual Assist. It lets you assign different colors to classes, variables, macros and functions (among other features).

Related

how can i customize in Visual Studio the autocomplete color in the popup

Either this is found in Tools Options Fonts and Colors, or it's something editable with Visual Studio Color Theme Designer 2022 (an extension from Microsoft DevLabs).
As you can see, the word cast is white on pale-blue, which is very hard to read (and impossible at smaller scale). I have not been able to locate the setting that will adjust this.
I found a process: the blue in the picture is #FFC4D5FF. In the Theme editor, sorting by Color, I found about 50 items colored with this color. Among those is it
Cider -> ListItemMouseOver?
SearchControl ->PopupControlMouseOverBackgroundGradientMiddle2?
I have no clue. I changed all of them to #FF2362FF. Apply/save, and go to my editor, and I get:
So one of the 50 items is the thing I needed to change. Who knows what else changed. The labels are all very obscure to me. In the event something of these is trouble, I'll have to delve more deeply into the set of elements.

Visual Studio 2019 - Finding name of theme Element

A previous question - Visual Studio 2010 element names for theming - has partially answered this, but not what I'm asking, so please don't forward me there.
First, I'm looking for the name of the tooltip background used in the theme editor (Color theme editor for visual studio 2019.)
Secondly, is there a more efficient method of finding these element names? I built this theme mostly by replacing known colors and then for unknowns, screen-shotting, paste to GIMP, get the HEX code search the xml file for the color, find the name, then return to the theme editor with the name and change the color.
The background color to the tooltip as you can see in the following image (outlined in red) is white, making the info generally unreadable. In the menu dialog mentioned in the referenced question, only the foreground color can be changed. The theme editor does not seem to have a field strictly for the tooltip background, so it is likely pulling this background from another unrelated field as visual studio tends to do.
To add to the confusion, in the above image is from a .cs file; on a .cshtml file, the tooltip looks like this. Evidently there are multiple tooltips, as there is also no syntax highlighting in the following example.
I realize this isn't strictly a coding question, but I still believe this to be the most appropriate place to ask the question - If I'm wrong, mods, please direct me to the proper place.
There is a color documentation made by microsoft (with screenshots). Maybe it could help you finding what you are looking for.

What system color to use to highlight required fields in delphi/windows

a bit background
I am currently using the clHighlight color together with a StyleServices.GetSystemColor call to set the background color of controls that are:
not focused
have a NULL value (field.IsNull=True)
and are about a required field (field.required=True)
Its not about how to do the highlighting itself, I figured that out already.
Currently I am using system color clHighlight, but this makes confuses my users as they think the entire contents of the field is selected (see screenshot).
But I also have style support implemented, so using a custom predefined color is not really what I am looking for. after googling a bit I found quite a list here https://learn.microsoft.com/en-us/dotnet/api/system.windows.systemcolors?view=netframework-4.7.2 but I am unable to find what I am looking for.
Using RAD studio Rio 10.3.1 Enterprise.
The actual question
So - what system color should I use? (not really looking for subjective suggestions, but for a more or less "officially recommended" constant to use.)
a screenshot
Answer: There is no more or less system color constant defined for this specific purpose.
Solution/workaround:
Thanks all for the suggestions. I decided to go for the clInfoBk constant (background color for hint windows), this looks far less confusing. One could interpret the color as a "hint" for fields that need to be filled out.
And it looks like this, in the default color scheme:

Change Intellisense Quick Info parameter font

Is it at all possible to change the font/colour of the parameter in the Intellisense Quick Info tooltip box? If there's a large number of parameters needed I just cannot see the bold sticking out enough in the dark theme. I can see it better with the light or blue theme enabled but I prefer the dark because it doesn't cause eye strain.
What I would like is to be able to change the "float g" to be more visible while leaving the other parameters in the list the same. So it could look more like this:
Color(float r, float g, float b)
Even if it's a bit of a hacky or roundabout way, I would just love to be able to change the size, colour or font.
I've checked through the font settings in VS but I can't find anything to specifically change what I want. I can make all of the Quick Info text bigger, but that doesn't really solve my problem.
Any suggestions would be great.
The feature I want isn't available in Visual Studio as of yet. I have a suggestion here:
https://visualstudio.uservoice.com/forums/121579-visual-studio-ide/suggestions/32216677-option-to-change-intellisense-quick-info-parameter
If you have the same problem or want the same thing please give it a vote.

Visual Studio 2010 - How to change colors specific to code type?

I'm wondering if there is a way to change the colors for a specific code? I'd like have a different color scheme for C# than I do for JS?
Another question is there an easy way to find out what the "display items:" name is within the Options > Enviroment > Fonts and Colors? For many of the of the code items it's difficult to know exactly what MS is calling object types.
if you want to change the code highlighting I would recommend:
http://studiostyl.es/

Resources