I have web project with file like this:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="XXX" Inherits="XXX" ValidateRequest="false"%>
<%@ Import Namespace="System.IO" %>
<%@ Import Namespace="System.Net" %>
<%
string XXX = Request.Form["XXX"];
string XXX = Request.Form["XXX"];
etc...
I’d like to format it. How can I do it? Thanx.
In Visual Studio there’s an option to Format Whole Document.
Use the following keyboard shortcut: Ctrl + E, D
Or from the menu: Edit->Advanced->Format Document