DEV Community

Miguel Teheran
Miguel Teheran

Posted on

5

Error lens extension in Visual Code for C#

Error lens is an amazing extension in Visual Code that shows you all the errors and warnings in realtime when you working on a file or you open a new project.

First, just to clarify, this extension is available for many programming languages an technologies. Even though you are not a C# developer you can try this extension out with Javascript, Python, etc...

After installing Error lens, you only need to open or edit a file to see the effect and the validations of this extension in real-time.

The following is a list of common errors and warning in C# detected by Error lens

  1. Unnecessary using:

  2. End of Line:

  3. Namespace missing:

  4. Misspell:

Error lens also has a configuration settings section. You can set a delay to show the errors and change the colors for each type of error.

The official repository in git:
https://github.com/phindle/error-lens

Try it out!!

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay