Formatting Javascript Code

Get help on programming - C++, Java, Delphi, etc.
Post Reply
SilverBack
Registered User
Posts: 1387
Joined: 26 Jan 2006, 02:00
Location: JHB
Contact:

Formatting Javascript Code

Post by SilverBack »

Hiya,

I have some JS code and it gets real long on one line. Have to scroll horizontally to see the rest of the code, which really irritates me sometimes. Is there a way to format the code, to continue running the one line, but have it spaced over multiple lines? I know in VB you use the underscore for breaks in code "_".

So what do you use in javascript?
Deja Moo: The feeling that you've heard this bull before.
Hire A Programmer -|- Just Source Code Blog
SykomantiS
Registered User
Posts: 14085
Joined: 06 Oct 2004, 02:00
Location: Location, Location...
Contact:

Post by SykomantiS »

What do you use for scripting? I know Dreamwaever has the option to use word wrap. So maybe check if the program you're using also supports it?
SilverBack
Registered User
Posts: 1387
Joined: 26 Jan 2006, 02:00
Location: JHB
Contact:

Post by SilverBack »

Vis Studio 2005....google doesnt return much?
Deja Moo: The feeling that you've heard this bull before.
Hire A Programmer -|- Just Source Code Blog
Post Reply