My Microsoft visual studio doesn't give the yellow underline to indicate a possible issue?

At 2:10 Ben is talking about the yellow underline in visual studios, this indicates that it could be improved.
In my visual studios it didn’t give me the yellow warning line.

I’m a bit worried that I have something set up wrong (should be standard) and so I wouldn’t get noticed to these small warnings.
Also I don’t have the purple todo like Ben has?

I know it’s probably late but for anyone looking for the same solution.
The only solution i found was to install some sort of extension like 'Better comments’
Then you can customise if you want only the todo(TODO) keyword highlighted, coloured
or you could customise other things as well.
Inside visual studio go to: tools -> extensions and updates -> online -> search for “better comments” -> download -> install -> restart visual studio for it to take effect.
After that go to: tools -> options -> better comments -> general (there you can tick colour only the TODO keyword)

There is also extension Refactoring Essentials for Visual Studio and after installing this extension I got a warning about comparing float to zero.

1 Like

Privacy & Terms