开发者

some issues concerning the aspx file in visual studio

开发者 https://www.devze.com 2023-02-25 09:22 出处:网络
Q: I want to ask two questions concerning the visual studio. 1- is there a way to indent the aspx file , because most of the time , this file is so long and not tidy ,make me feel noisy and take a l

Q:

I want to ask two questions concerning the visual studio.

1- is there a way to indent the aspx file , because most of the time , this file is so long and not tidy ,make me feel noisy and take a lot of time to modify the tags . i wanna to know if there is some trick in visual studio to indent the file like the .cs file when removing the last curly brace and type it again the 开发者_Go百科code turned to be readable and indented.

2- some times when i select a specific control in the design view and go to the source view, the visual studio behave in a strange manner and i find all the source is selected. what is the problem here.

Thanks.


To format the document you can use:

Ctrl+E, D - format document

or Edit > Advanced > Format Document

This will apply default indenting to your whole document

0

精彩评论

暂无评论...
验证码 换一张
取 消