Download the code from the server, the format is not neat. Running, the page is normal.
Then, format the code, or edit it, click save (just put a space), run it, and the style of the page will be completely changed. What's going on?
In the aspx page, there is a master page, and there are html tags in the content. When you click save, some html tags become lowercase, and the format is neatly indented.
These changes happened.
What’s going on? Why does the style change after formatting the code? Functionality is seriously affected.
The encoding is all utf-8. I tried it on a colleague’s machine. No problem. It’s good. Because when I click save on my colleague’s machine, the page will not automatically format the code. And my vs2008 saves it with one click and automatically formats the code. I looked for the setting as shown in the picture. Is it related to this setting? I reinstalled vs2008 and it's still gray here, but my colleague's is optional.
My colleague’s style also changed after formatting the code. Why? Is the operation normal?
CodeMaid plugin