2010-01-24

I use Visual Studio as my editor for .css and .js files.. It REALLY SUCKS especially with .js files since it insists on indenting them in a very weird way, but I find it convenient that the first alt-tab is always the browser instead of another editor, and that ctrl-tab is always either the code file or the css/js.

Anyways, in all its radiant wisdom it decides to check them for syntax errors as well and every time I compile my project it gives several "errors" that push down the real errors of the compilation, so every time I make a syntax error in a code file I have to scroll down through all the js/css errors to see what's wrong.

Examples of such errors (that aren't really errors) are:

The situation also got much worse recently, since it now keeps parsing a .js file as a .css file for some reason, so I get errors such as:

I even deleted that particular file from the solution (it's not there anymore anywhere), but it keeps parsing it anyway.

In short, how can I disable this feature?

Show more