theme-converter-for-vs
theme-converter-for-vs copied to clipboard
Themes are not working in Visual studio 1.7.9.0+ versions
Describe the bug Most of converted themes from Theme pack like Abyss or Dark+ are not working correctly anymore.
Expected behavior Work as on previous verisons?
Environment (please complete the following information):
- Visual studio 1.7.9.0+
- Theme used: [e.g. Dark+]
Impact Can't code anymore, I need my dark+ back :(
- It seems most method calls aren't coloring correctly - only extension/static methods possibly?
- The type and name of a variable are also the same color, which I'm pretty sure wasn't the case before.
- I'm sure there are more, maybe someone else could chip in?
I'm trying to get before and after screenshots, if I can find a VS installation that hasn't been updated
Adding to @Smenus's comment:
- Interface names are not coloured when implementing the interface.
- Used namespaces are not coloured.
- Regular method calls are coloured regardless of whether they're static or not. Extension method calls are coloured.
Examples using the Dark+ theme:
In 17.9.1 (click to expand)
In 17.8 (click to expand)
Code (click to expand)
namespace VS_17_9_Themes
{
// Usings are not coloured.
using System;
using System.Net.Http;
public static class Program
{
public static void Main(string[] args)
{
SomeClass someClass = new();
// Regular method calls are not coloured.
someClass.RegularMethodOnOtherClass();
RegularMethodOnSameClass();
// Extension method calls are coloured.
someClass.ExtensionMethodOnOtherClass();
}
public static void RegularMethodOnSameClass()
{
Console.WriteLine("Hello");
}
}
public interface ISomeInterface { }
public class SomeClassBase { }
public class SomeClass
// Interface names are not coloured.
: SomeClassBase, ISomeInterface
{
public void RegularMethodOnOtherClass()
{
Console.WriteLine("Hello");
}
}
public static class SomeClassExtensions
{
public static void ExtensionMethodOnOtherClass(this SomeClass someClass)
{
Console.WriteLine("Hello");
}
}
}
I glad I'm not alone. Sadly I was allarming about this since thems stoped working in preview branch. Looks like no one cares about this issue. I also doubt someone from devlabs team will see the bug report....
If you didn't see my reddit post this is some sort of solution:
- Download and install Carnation extension.
- Apply Broken theme
- Open Carnation window
- Press "Themes" apply any theme from there.
- Press "Themes" than "Reset theme to default"
- Voila! Your theme is fixed!
A fix from the VS team is coming: https://developercommunity.visualstudio.com/t/Identifier-has-too-high-priority-in-sy/10547451
The workaround that worked for me was setting the Identifier background and foreground to Automatic.
Screenshot
A fix from the VS team is coming: https://developercommunity.visualstudio.com/t/Identifier-has-too-high-priority-in-sy/10547451
The workaround that worked for me was setting the Identifier background and foreground to Automatic.
Screenshot
you are my hero!
A fix from the VS team is coming: https://developercommunity.visualstudio.com/t/Identifier-has-too-high-priority-in-sy/10547451
The workaround that worked for me was setting the Identifier background and foreground to Automatic.
Screenshot
This kind of fixed it for me as well. Thank you!
A fix from the VS team is coming: https://developercommunity.visualstudio.com/t/Identifier-has-too-high-priority-in-sy/10547451
The workaround that worked for me was setting the Identifier background and foreground to Automatic. Screenshot
Legend