Indentation in ASP page?

M

Matrix

I have been working on ASP page that was written by someone else. There is no
indentation at this time and this ASP page has tons of functions, do while
loop, if else and for next. It has lots of javascript functions too and it is
hard to read. How can I correct the indenation using some tool as I don't
think so that I can do it by TAB and SHIT+TAB in visual studio as there are
3500+ lines of code. Please help. This is ASP not ASP.NET. Thanks!
 
E

Evertjan.

=?Utf-8?B?TWF0cml4?= wrote on 08 jun 2006 in
microsoft.public.inetserver.asp.general:
I have been working on ASP page that was written by someone else.
There is no indentation at this time and this ASP page has tons of
functions, do while loop, if else and for next. It has lots of
javascript functions too and it is hard to read. How can I correct the
indenation using some tool as I don't think so that I can do it by TAB
and SHIT+TAB in visual studio as there are 3500+ lines of code. Please
help. This is ASP not ASP.NET. Thanks!

SHIT+TAB is that Freudian?

Never seen automatic indentation working to my taste.

Code coloring is among others in Editpad Pro.
<http://www.editpadpro.com/>

3500+ lines of code on one page?
 
M

Matrix

Thanks both of you for reply. I tried using the textpad but I can reformat
upto certain things and beyond that I can't. Yes, it is crazy and the
application that I am wokring on, i think who ever developed it did run some
kind of utility to jubmled up all the code so they can get some work to do
after even the assignment.

I was looking for functionality like in RAD 6.0, where you have option to
correct indentation and it works fine with Java, jsp and other stuff but
there isn't anything for ASP page. Anyway thanks a lot.
 
J

jussij

Thanks both of you for reply. I tried using the textpad
but I can reformat upto certain things and beyond that I
can't.

If your code contains braces (ie '{', '}'), you might be
able to get away with using the code reformatter found
in Zeus:

http://www.zeusedit.com

It has a "Reindent and restyle this file" option found
on the macro menu.

NOTE: To get the styler to work you may have to save code
to a file with a .c or .cpp file extension.

Jussi Jumppanen
Author: Zeus for Windows
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,817
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top