re-align *.js file

S

sam

Hi,

I found some of the example code I downloaded has all js codes put in
one line. Is there any tool I can re-align these code into coder
readable form?

Thanks
Sam
 
R

Randy Webb

sam said the following on 2/8/2006 8:00 AM:
Hi,

I found some of the example code I downloaded has all js codes put in
one line. Is there any tool I can re-align these code into coder
readable form?

Any decent text editor can. Try NoteTab at www.notetab.com and it can
replace all ; with ;^P and then you have to find the for type loops that
shouldn't be broken across lines.
 
T

Thomas 'PointedEars' Lahn

sam said:
I found some of the example code I downloaded has all js codes put in
one line. Is there any tool I can re-align these code into coder
readable form?

There are plenty. Search for "JavaScript formatter".


PointedEars
 

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,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top