C# Visual Studio 2012中语法着色的丢失
最近,VisualStudio2012的语法着色已基本停止工作。用于类声明的翡翠色和用于此的深蓝色。仍然适用,但系统。***或方法调用的黄色不再适用C# Visual Studio 2012中语法着色的丢失,c#,visual-studio-2012,color-scheme,C#,Visual Studio 2012,Color Scheme,最近,VisualStudio2012的语法着色已基本停止工作。用于类声明的翡翠色和用于此的深蓝色。仍然适用,但系统。***或方法调用的黄色不再适用 using System; using System.Collections.Generic; <- (should be yellow) using System.ComponentModel; using System.Data; using System.Drawing; using System.Linq; using System.
using System;
using System.Collections.Generic; <- (should be yellow)
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;
namespace WindowsFormsApplication2
{
public partial class Form1 : Form
{ ^- (normally colored)
public Form1()
{
InitializeComponent(); <- (should be orange)
}
}
}
我所做的唯一定制是将黑暗主题应用于VS。到目前为止,我尝试运行devenv/setup和/resetuserdata,但没有成功,尝试修复,尝试使用devenv完全卸载普通控制面板+/force并重新安装,但仍然没有语法着色。这都是在C环境下完成的
任何关于恢复正确颜色的提示都将不胜感激。尽管它很小,但它让我抓狂。尝试应用蓝色主题,看看这是否会恢复语法着色。如果是这样的话,你可以从其他人那里得到黑色。没有运气:缺乏颜色存在于内置的暗、蓝、光主题中。我不明白是什么让它消失了,当我第一次安装它的时候,它的颜色就像我在作品中描述的那样。但是现在,它消失了。