views:

32

answers:

3

Howdy, after translate to c# (from java) and using visual studio, I found that visual studio dosent have the netbeans feature that highlight the buggy code files in files browser and lines that contains errors in the left side of the code. I think this feature very useful and let me find some error before press compile/run. so I want to know if there is a addin for visual studio to enable this feature.

Thanks

Edit : i dont mean underline the error ! , but insert some error icon at line start and on the file icon in files browser (the big benefit of this feature when we have too many code files or too many line in a file)

+1  A: 

What version of Visual Studio do you have? VS 2010 has this feature enabled by default.

zildjohn01
i am using vs 2010 but it doesnt have this feature
radi
VS2010 highlights the lines, but not the files
Daniel Frear
Check Tools | Options > Text Editor | C# | Advanced, under Editor Help
Hans Kesting
The option is located under Tools > Options > Text Editor > C# > Advanced > Editor Help. It probably got disabled somehow, try re-enabling it.
zildjohn01
+1  A: 

You could try using ReSharper, which has code analyses including Solution Wide.

Ilya Ryzhenkov
A: 

this features need two addin to be enabled :

  1. highlight buggy code files (tab) use : Productivity Power Tools
  2. highlight buggy lines in a code file use : ReSharper (thanks to Ilya Ryzhenkov)
radi