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!!

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

Top comments (0)

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay