Simple answer: Turn off automatic formatting on the "Formatting" tab
Extracted from the documentation here
Special JScript settings are available in new tools / Options / Text Editor / JScript node
These four tabs are:
General and tabs
The options here are standard for all editors (including JScript)
Formatting
This tab was designed for JScript and contains most of the JScript formatting features.
Auto formatting. This section relates to WHEN formatting when a user enters code and manages the code in real time. Basically, formatting is done when the user creates the code.
- Formatting the completed line during input (enabled by default): after pressing {ENTER} the line will be formatted in accordance with the settings
- Formatting completed; (default ON): once ;, the string will be formatted according to the settings.
- Formatting the completed block} (enabled by default): After clicking}, the block will be formatted in accordance with the settings
- Format when pasting (enabled by default): after pasting the code into the editor, it will be formatted in accordance with the settings
Miscellaneous
This tab is also JScript specific and contains validation rules as well as report completion options.
source share