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