I’m working with ExtJs framework and so have to code a lot of JS in vs2008, however, VS2008 keeps removing my indentation and its driving me nuts.
How do I remove the ‘auto-indent’ feature? Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The simple answer is: Turn off the Automatic formatting in the Formatting tab
Extracted from the documentation here
JScript specific settings are available under the new Tools / Options / Text Editor / JScript node
These four tabs are:
General & Tabs
Options here are standard across all editors (including JScript)
Formatting
This tab was designed for JScript and contains the most of the JScript specific formatting features
Automatic formatting: This section refers to WHEN formatting will occur as the user is typing in and manipulating code in ‘real time’. Basically, formatting is being performed as the user is constructing the code.
Miscellaneous
This tab is also JScript specific and contains validation rules as well as statement completion options