Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 BUG: Syntax coloring problems
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

guest
Junior Member

15 Posts

Posted - Aug 05 2010 :  10:45:21 AM  Show Profile  Reply with Quote
Enhanced syntax coloring can be unusable if Visual Studio's color scheme is different from the default. It seems like this problem is caused by colors being taken from environment settings rather than user configurable options. I would suggest adding more syntax color options, since it would not be correct to assume that every window in the IDE has a uniform color scheme.

Options:


Actual result (unreadable):

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Aug 05 2010 :  12:58:00 PM  Show Profile  Reply with Quote
If you are using a different background colour scheme for the editor window then you are going to have this problem. We normally recommend that you only apply VA Enhanced Syntax Coloring to Text Editors, and not all windows.

Alternatively you can change / darken the background colour of all windows and dropdowns using Windows' Display Properties|Appearance|Color Scheme, so you can apply enhanced syntax colors to all objects without any problems.

zen is the art of being at one with the two'ness
Go to Top of Page

guest
Junior Member

15 Posts

Posted - Aug 06 2010 :  10:25:02 AM  Show Profile  Reply with Quote
Yes, I suppose that is a reasonable workaround, but is it not possible to fix the underlying issue (too few coloring options)?

I would like to keep the custom color scheme for the text editor and it would be nice to have the syntax coloring working on other windows that have bright backgrounds.

Edited by - guest on Aug 06 2010 10:28:02 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Aug 06 2010 :  11:04:26 AM  Show Profile  Reply with Quote
We don't have any current plans to try and do this, partly because of the number of colour options it would require. Not only would we need to duplicate some of the VA colour's we would also need to duplicate some of the IDE colours as well. Comment colour is an obvious example, if you have comments showing in VA Outline.

zen is the art of being at one with the two'ness
Go to Top of Page

guest
Junior Member

15 Posts

Posted - Feb 11 2011 :  2:26:01 PM  Show Profile  Reply with Quote
I'm going to have to ask for this again. I don't see why more options can't be added to the currently limited set. VA is already getting color information from the environment, it would be good if this could be controlled.

Suggestions that would also be useful:
- An option to have all colors that would otherwise be taken from the environment to default to a single user defined color
- An option to change the background color of the tool tip window

The syntax coloring feature is entirely unusable for me because of the text editor's color scheme.

Edited by - guest on Feb 11 2011 2:31:46 PM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 15 2011 :  2:08:49 PM  Show Profile  Reply with Quote
If you are using VS2010 you might find the Visual Studio Color Theme Editor extension helpful:

http://visualstudiogallery.msdn.microsoft.com/20cd93a2-c435-4d00-a797-499f16402378/

Earlier versions of the IDE pick up and use the global windows background colours, so you can edit these, but they do effect all programs.

zen is the art of being at one with the two'ness
Go to Top of Page

guest
Junior Member

15 Posts

Posted - Feb 16 2011 :  2:49:57 PM  Show Profile  Reply with Quote
VS2010 might solve the problem, but unfortunately I do not make the purchasing decisions, so we're stuck with VS2008 for now. Is it not possible to add some of the simple suggested features?

Changing the global window color scheme to address this issue is not something I would like to do, because I like the way it looks by default. I only changed the text editor's colors because it's the one large area that I stare at for most of the day.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 17 2011 :  2:14:03 PM  Show Profile  Reply with Quote
The problem for us is that this is not a simple suggestion. Changing the background colour of the IDE windows, or tooltips, is very hard. The IDE does not know we are here, so we have to constantly sneak around behind it trying to get the correct colour in the correct place.

VA is designed to work well with a dark background in the main editor window, since this is a fairly common situation, but the IDE does not help us change any other background colours.

zen is the art of being at one with the two'ness
Go to Top of Page

guest
Junior Member

15 Posts

Posted - Feb 17 2011 :  6:15:37 PM  Show Profile  Reply with Quote
I am aware that the changing the window colors might be more challenging, but what about the second suggestion: Adding an additional configurable color that, when enabled, forces the syntax coloring to use it in place of the colors that don't already have a configuration option. It would act like a default value, taking the user's color preference instead of using the environment's settings.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 18 2011 :  12:13:51 PM  Show Profile  Reply with Quote
I don't understand. What colours don't have a configured option? If you look in the IDE options dialog at the fonts and colors settings then there are a LOT of different items, and they all have a specified colour. Often it is the default colour, but it is still a colour.

Also the default colours are often different. The default comment colour is different to the default identifier colour.

zen is the art of being at one with the two'ness
Go to Top of Page

guest
Junior Member

15 Posts

Posted - Feb 22 2011 :  10:21:14 AM  Show Profile  Reply with Quote
The colors that do not have an options are the colors that do not appear in VA's "Fonts and Colors" dialog, and are taken from Visual Studio's color preferences. Here are some images that show what I'm talking about:





Now, if there was a "use this color instead of Visual Studio's colors" option for the non-configurable colors (as seen in the second image), the syntax highlighting would be much more useful for people using custom color schemes for the text editor, since they could select a color that makes the text more readable. (In my case, I would probably just choose black.)

Edited by - guest on Feb 22 2011 10:27:37 AM
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 22 2011 :  2:39:26 PM  Show Profile  Reply with Quote
I understand what you are talking about now. This is an interesting approach, which has turned VA's approach to dark backgrounds upside down. Don't you find this rather limiting though? You are not getting any help from VA's enhanced syntax highlighting in the main editor window.

zen is the art of being at one with the two'ness
Go to Top of Page

guest
Junior Member

15 Posts

Posted - Feb 22 2011 :  3:35:32 PM  Show Profile  Reply with Quote
At the moment, it's not a problem to not have it in the text editor. It's more useful to have things highlighted in tool tips and other windows that normally don't have any type of highlighting to begin with.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18948 Posts

Posted - Feb 22 2011 :  4:21:58 PM  Show Profile  Reply with Quote
This makes sense, I have put in a feature request to see what our developers make of this:

case=55439

zen is the art of being at one with the two'ness
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000