Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to disable crazy Javascript/HTML formatting in Visual Studio 2008?

The formatting of HTML and Javascript is just crazy. It actively works against you. Does anybody know how to turn this off completely? (I Do not speak about the HTML designer, I speak about what happens when you press ctrl-k,d in HTML view or when you press ; in a javascript block).

like image 420
usr Avatar asked Apr 10 '10 12:04

usr


People also ask

How to turn off HTML formatting in Visual Studio 2010?

In Visual Studio (tested with VS 2010) in order to turn off the html formatting : Tools --> Options --> Text Editor --> HTML --> Formatting --> Tag Specific Options --> Default Settings

How do I turn off JavaScript errors in Visual Studio?

Unmark the checkbox in front of Enable ESLint, restart Visual Studio and you are done. If the errors persist, you can open Tools > Options… again, search for JavaScript Errors and disable the setting: Restart again and now Visual Studio will no longer show you any JavaScript errors.

How do I format a JavaScript file in Visual Studio?

To access this page, on the menu bar, choose Tools > Options, and then expand Text Editor > JavaScript/TypeScript > Formatting. Your computer might show different names or locations for some of the Visual Studio user interface elements in this article.

How do I change the format of a code in Visual Studio?

Options dialog box: Text Editor > JavaScript > Formatting. Use the Formatting page of the Options dialog box to set options for formatting code in the Code Editor. To access this page, on the menu bar, choose Tools > Options, and then expand Text Editor > JavaScript/TypeScript > Formatting.


1 Answers

Javascript formatting can be disabled in Tools → Options → Text Editor → JScript → Formatting.

like image 138
Michael Kropat Avatar answered Sep 28 '22 08:09

Michael Kropat