How to make Visual Studio stop “compiling” .js and .css files

后端 未结 2 626
我在风中等你
我在风中等你 2020-12-04 21:14

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 we

2条回答
  •  孤城傲影
    2020-12-04 22:00

    Enter the options through

    Tools > Options

    If it isn't checked, check the "Show all settings" box at the bottom of that window.

    In the tree to the left, choose:

    Text Editor > CSS > CSS Specific

    Uncheck "Detect Errors". Then, choose:

    Text Editor > JScript > Miscellaneous

    Uncheck "Show syntax errors".

    You can also change how it indents each type of code too, in the various settings in those "Text Editor" sub-options.

提交回复
热议问题