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
 Syntax highlighting colors for VS dark theme
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Aquarius
Starting Member

1 Posts

Posted - Jan 12 2021 :  08:09:08 AM  Show Profile  Reply with Quote
Hello everybody.

I messed up something in VA settings so syntax highlighting doesn't adapt to Visual Studio theme change anymore. It's stuck with light theme and doesn't change syntax highlighting to warmer colors when I switch to dark theme. Can you please post a screenshot of VA "Coloring and Attributes" window with the default colors for the dark Visual Studio theme ?

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Jan 12 2021 :  11:12:58 AM  Show Profile  Reply with Quote
Have you tried restarting the IDE, to see if this helps?

Which IDE and version of VA are you using?

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

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Jan 12 2021 :  11:54:16 AM  Show Profile  Reply with Quote
If restarting and then changing the IDE theme to Blue, or Light, and then back to Dark after accepting the change, doesn't help, can you try looking at:

IDE tools menu -> Options -> Environment -> Fonts and Colors -> Display items = VA Method

and see if there is a sensible colour as the Default colour in the pull down list for the item foreground. If so, then setting the VA colour entries to the default item should be a reasonably fast fix.

Here are the main colours, to help get you going:




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

Shambler
Senior Member

48 Posts

Posted - Feb 08 2021 :  07:27:35 AM  Show Profile  Reply with Quote
Fresh install of latest VS2019 Community in dark mode and latest VAX uses light theme syntax highlighting - even after I delete all the VANet16 registry settings - even after I set the registry key here to '2' and '4':
https://docs.wholetomato.com/default.asp?W494

Light VAX theme in a dark VS theme is, of course, very difficult to read - so a bit unfortunate that it seems to default to that on install.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 08 2021 :  09:35:08 AM  Show Profile  Reply with Quote
Can you please export your VA and IDE settings and send them to me:

VA Options -> Performance -> Export Settings
IDE tools menu -> Import and Export Settings -> Export selected environment settings

Please send me the files via email:

[email protected]

including this thread ID or URL in the description, so we can match it up.

I can then import them here and see what I get. Especially after setting the registry key, VA should be doing this correctly.

Are you using the built in Dark theme, or a custom dark theme, perhaps via another extension that allows for custom themes?

zen is the art of being at one with the two'ness

Edited by - feline on Feb 08 2021 09:35:27 AM
Go to Top of Page

Shambler
Senior Member

48 Posts

Posted - Feb 11 2021 :  07:57:19 AM  Show Profile  Reply with Quote
I've sent that there, now. I'm using the built in dark theme, as selected during install of VS2019 community.

There's no other theme extension, it's a fresh install of VS2019, with VAX being the first thing installed on top of it - hadn't even started tweaking VS settings to my liking, post-install.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 11 2021 :  12:34:41 PM  Show Profile  Reply with Quote
I have been looking at themes due to a different bug report, and VA's default colours should just work, but obviously something is going wrong here.

Unfortunately the VsThemeColorBehavior that you have used won't help here, since this does not effect VA's default colours, which is why it hasn't helped you.

Have you restarted the IDE since installing VA? I assume you must have, when setting the registry key, but I just wanted to double check.

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

Shambler
Senior Member

48 Posts

Posted - Feb 12 2021 :  06:57:22 AM  Show Profile  Reply with Quote
Yes, I've restarted it a number of times - it consistently stays the wrong colour.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 12 2021 :  08:45:04 AM  Show Profile  Reply with Quote
Have you sent in your settings? I am not seeing anything obvious in the support emails, but I might be missing them. What case number should I be looking for?

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

Shambler
Senior Member

48 Posts

Posted - Feb 13 2021 :  12:15:47 PM  Show Profile  Reply with Quote
Ya, I sent that as email topic "VS Settings - Topic 19103".
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 15 2021 :  05:49:17 AM  Show Profile  Reply with Quote
I am not seeing any sign of it, even when searching for this string.

When you email [email protected] you should get an automated reply, telling you which case number the email was assigned. Did you get the reply? If so, what case number did the email get assigned? I can use this number to get directly to the email.

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

Shambler
Senior Member

48 Posts

Posted - Feb 15 2021 :  3:08:09 PM  Show Profile  Reply with Quote
I didn't seem to get a reply - maybe the email got rejected, due to 7z attachment? I've put it on Google Drive now, and emailed the link to you through the forum email button.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 16 2021 :  08:44:22 AM  Show Profile  Reply with Quote
Apparently emailing via the forum isn't currently working, I am going to ask about this.

For now, I have just emailed you, at the email address your forum account is registered with. The email is from [email protected] and has the subject:

Re: (Case 144419) Syntax highlighting colors for VS dark theme forum thread

hopefully you will receive this email and we can start looking at this properly for you.

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

Shambler
Senior Member

48 Posts

Posted - Feb 16 2021 :  10:15:21 AM  Show Profile  Reply with Quote
Thanks - I got that, and replied with the Google Drive link - and a second time with the file directly attached.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 16 2021 :  12:54:18 PM  Show Profile  Reply with Quote
I think something is wrong with our support email, apologies for this, I am looking into this now. It looks like sending works fine, but not receiving.

So thank you for reporting you sent email, it prompted me to try emailing support myself.

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

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 18 2021 :  06:35:19 AM  Show Profile  Reply with Quote
I have emailed you a VS2019 settings file that only contains VA's colours for a dark theme. In theory importing this settings file will fix the problem for you.

I have also included my direct email address, if you could please email me your problem settings, I can try them here, and see if I can understand why VA is having this problem on your system.

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

Shambler
Senior Member

48 Posts

Posted - Feb 18 2021 :  1:23:09 PM  Show Profile  Reply with Quote
Thanks - I've emailed the settings directly there now, too.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 19 2021 :  08:39:38 AM  Show Profile  Reply with Quote
I have the settings file, thank you for this. I am seeing exactly the same problem with your IDE settings, even though the IDE options dialog reports that you are using the Dark theme. Very strange.

For now, importing the VA dark colour settings file fixes the VA colours for me here, hopefully it also works for you. This should be a solid work around, while I try and work out what is going wrong here.

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

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 23 2021 :  11:44:36 AM  Show Profile  Reply with Quote
After a bit of digging, I know why your settings file is causing this problem, but I don't know where the problem came from.

In your settings file the light background colours for VA's main items, class, method, variable, etc, are directly set. Since they are set, VA is not changing them when the theme changes.

When I do a clean install of VA and then export my settings, with either dark or light theme set, these VA colours are not set, leaving VA free to set them as the theme changes.

No idea why your system ended up like this though, but hopefully the settings file I sent you will fix this for you.

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

Shambler
Senior Member

48 Posts

Posted - Feb 24 2021 :  5:21:44 PM  Show Profile  Reply with Quote
Thanks for looking into that - it was a clean install, so I've no idea what could have caused that myself, either.

I guess I'd suggest adding a 'reset' button to the VAX options somewhere, which resets highlighting based on current colour theme - regardless of VS settings - just so that if other users encounter this issue, there's an immediate fix.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Feb 25 2021 :  11:50:36 AM  Show Profile  Reply with Quote
To reset to the defaults, you can just press the button:

IDE tools menu -> Options -> Environment -> Fonts and Colors -> Use Defaults

the "problem" is that I assumed that this was caused by VA not correctly detecting your dark theme, which is what it looks like, but is not actually what was happening. If I had thought that this was triggered by colours being set, I would have started here. Knowing the exact trigger makes this easier to fix.

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

sosedada
Senior Member

USA
36 Posts

Posted - Mar 05 2021 :  10:03:37 AM  Show Profile  Reply with Quote
Can I get a copy of the settings file, because I seem to be experiencing this.

I recently disabled VAx trying to determine why VS was crashing. After reenabling it, my colors are stuck in light mode even though the VA dialog shows the proper colors.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Mar 05 2021 :  11:39:52 AM  Show Profile  Reply with Quote
I will email you. As a first step, assuming you haven't customised your IDE colours to much, can you please try pressing the button:

IDE tools menu -> Options -> Environment -> Fonts and Colors -> Use Defaults

and see if this helps? This fixed the last version of this problem I saw, but that was with the IDE's default Dark theme.

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

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - Mar 05 2021 :  11:44:29 AM  Show Profile  Reply with Quote
Email sent to your forum email address

case=144502

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

Bidonjour
New Member

France
3 Posts

Posted - May 02 2021 :  6:43:55 PM  Show Profile  Reply with Quote
Hello, can I also get a copy of the settings file, because I'm also experiencing the same issue. Fresh install of Visulat Studio 2019, no custom them installed.
Go to Top of Page

feline
Whole Tomato Software

United Kingdom
18702 Posts

Posted - May 04 2021 :  07:31:31 AM  Show Profile  Reply with Quote
I have just emailed you the IDE settings file:

case=145672

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