473,407 Members | 2,315 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,407 software developers and data experts.

Indentation in ASP page?

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!
Jun 8 '06 #1
4 3728
=?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?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)
Jun 8 '06 #2
Just use a text editor, www.textpad.com for example, and do it manually. It
won't take that long.

Ray at work

"Matrix" <Ma****@discussions.microsoft.com> wrote in message
news:D4**********************************@microsof t.com...
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!

Jun 8 '06 #3
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.

"Evertjan." wrote:
=?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?

--
Evertjan.
The Netherlands.
(Please change the x'es to dots in my emailaddress)

Jun 8 '06 #4
> 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

Jun 9 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

147
by: Sateesh | last post by:
Hi, I am a beginner in Python, and am wondering what is it about the indentation in Python, without which python scripts do not work properly. Why can't the indentation not so strict so as to give...
2
by: Aarono Brown | last post by:
In the following html page, I'm using a stylesheet to move everything in the body over five percent, and then move the h1 heading back over to the left margin. On IE 6 (W2K & 98) the relative...
177
by: C# Learner | last post by:
Why is C syntax so uneasy on the eye? In its day, was it _really_ designed by snobby programmers to scare away potential "n00bs"? If so, and after 50+ years of programming research, why are...
5
by: smichr | last post by:
I have (inadvertently) wiped out the functionality of my personal python snippets by eliminating leading space. I have also just visited http://www.python.org/tim_one/000419.html and saw a piece of...
7
by: diffuser78 | last post by:
I am a newbie to Python. I am mainly using Eric as the IDE for coding. Also, using VIM and gedit sometimes. I had this wierd problem of indentation. My code was 100% right but it wont run...
135
by: Xah Lee | last post by:
Tabs versus Spaces in Source Code Xah Lee, 2006-05-13 In coding a computer program, there's often the choices of tabs or spaces for code indentation. There is a large amount of confusion about...
4
by: bearophileHUGS | last post by:
This is the best praise of semantic indentation I have read so far, by Chris Okasaki: http://okasaki.blogspot.com/2008/02/in-praise-of-mandatory-indentation-for.html A quotation: I have...
1
by: Eric S. Johansson | last post by:
in trying to make programming in Python more accessible to disabled programmers (specifically mobility impaired speech recognition users), and hitting a bit of a wall. The wall (for today) is...
19
by: Eric S. Johansson | last post by:
Almar Klein wrote: there's nothing like self interest to drive one's initiative. :-) 14 years with speech recognition and counting. I'm so looking to my 15th anniversary of being injured next...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.