in src/dotnet/PowerToys.CyclomaticComplexity/Options/ComplexityAnalysisOptionPage.cs [73:81]
private static string GetPresentableName(PsiLanguageType psiLanguageType)
{
// Bah, WinRT JS is a different language, that supports control flow,
// but has the same presentable name as normal JS. I don't like
// adding language specific fixes...
if (psiLanguageType is JavaScriptWinRTLanguage)
return "JavaScript (WinRT)";
return psiLanguageType.PresentableName;
}