I use Visual Studio as my editor for .css and .js files. It REALLY SAVE , especially with .js files, since it insists on backing off in a very strange way, but I find it that the first alt tab is always a browser instead of another editor, and that ctrl-tab is always either a code file , or css / js.
In any case, in all his radiant wisdom, he also decides to check them for syntax errors, and every time I compile my project, he gives several “errors” that crowd out real compilation errors, so every time I make syntax an error in the code file I need to scroll through all the js / css errors to see what is wrong.
Examples of such errors (which are not really errors):
Error 7 Validation (CSS 2.1): 'text-rendering' is not a known CSS property name.
Error 8 Validation (CSS 2.1): 'opacity' is not a known CSS property name.
Recently, the situation has also deteriorated dramatically, because for some reason it continues to analyze the .js file as a .css file, so I get errors such as:
Error 1 Unexpected character sequence. Expected a selector for the style rule. E: \ Dev \ anacletus \ Static \ set_focus.js 2
Error 2 Unexpected character sequence. Expected a property name for the ":" declaration. E: \ Dev \ anacletus \ Static \ set_focus.js 3
Error 3 Validation (CSS 2.1): 'set-focus' is not a known CSS property name. E: \ Dev \ anacletus \ Static \ set_focus.js 3
I even deleted this specific file from the solution (it is no longer in any place), but it still continues to parse it.
In short, how can I turn off this feature?
javascript css visual-studio-2008 visual-studio
Andreas Bonini Jan 24 2018-10-10T00: 00Z
source share