How to disable automatic formatting when opening a view's script in schema browser.
1. Open schema browser, go to Views tab, and highlight a view.
2. On the right side, select the Script tab.
3. Select the View/Edit Script options icon, first one of the script tab icons.
4. Select the Views tab and uncheck Format.