views:

305

answers:

2

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).

A: 

Goto Tools -> options -> Text Editor -> HTML and set option as per requirement.

See following for more details:
http://stackoverflow.com/questions/737222/turn-off-auto-formatting-in-visual-studio
http://stackoverflow.com/questions/626439/how-do-i-turn-off-visual-studios-formatting-options

Brij
the first thread you posted is about refactoring and not about for example hitting ; in a javascript block which auto-formats the code. the second thread is about c#. you did not read my question.
usr
+3  A: 
Michael Kropat
great, thx. js formatting is just horrible in vs.
usr