>>>my question was is there any IDE trick that will do this for me automatically?
>>
>>Thanks again.
>
>Looks to me like VS treats .js files as HTML files. You could switch it using options to thinking they are C# files, but it would screw up the syntax highlighting, so I think you are better off manually indenting.
>
>There may be a tool or trick that does this, but I didn't see one.
Ok, put this aside anyway for the moment.
If it's not broken, fix it until it is.
My Blog