How to get Visual Studio 2010 to highlight instances of a variable

后端 未结 10 1879
梦谈多话
梦谈多话 2021-02-03 21:28

I\'m new using vs2010 I\'ve read that when you click on a variable its suppose to highlight all the instances of that variable in that file and highlight red or show an error as

10条回答
  •  孤独总比滥情好
    2021-02-03 21:58

    In visual Studio 2012, Tools -> Options -> Environment -> Fonts and Colors -> [Text Editor] [Display Itemns] -> Highlighted References -> Item background: Choose the color you want.

提交回复
热议问题