是否有可能获得Visual Studio或ReSharper的突出枚举的用不同的颜色? [英] Is it possible to get Visual Studio or Resharper to highlight enum's with a different color?

查看:164
本文介绍了是否有可能获得Visual Studio或ReSharper的突出枚举的用不同的颜色?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我觉得代码将更具可读性,如果它突出了不同的颜色,以类属性枚举属性。

I think code would be more readable if it highlighted enums properties with a different color to class properties.

推荐答案

有关VS2010 / VS2013:

For VS2010 / VS2013:


    <李 - >工具 - >选项 - >环境 - >字体和颜色:
  1. 显示设置为文本编辑器

  2. 显示项目:用户类型(枚举)

  3. 更改项目前景

  1. Tools->Options->Environment->Fonts and Colors:
  2. Show Settings For Text Editor
  3. Display Items: User Types (Enums)
  4. Change Item Foreground

这篇关于是否有可能获得Visual Studio或ReSharper的突出枚举的用不同的颜色?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆