Possible to get warning when namespace in class does not match location?

  • Thread starter Thread starter Henrikzz
  • Start date Start date
H

Henrikzz

Guest
Hi,

I'm wondering if there's possible to get a warning (squiggly line) under namespace when the namespace does not match file location?

This is often a problem when i move folders and classes inside the solution. I notice that i'm able to change namespace by hitting ctrl + . and it will suggest me fixing the namespace. what i want is for visual studio to notify me with a warning in form of a squiqqly line (or error if i want) when it happens..

In the same way you can with alot of other things, like camelCase property, 'var' vs explicit and so on in vs19.


Resharper has had this for a while :(


best regards

Henrik

Continue reading...
 
Back
Top