troubleshooting Question

Need some advanced code indentation help

Avatar of tmonteit
tmonteitFlag for Afghanistan asked on
LinuxJavaScriptEditors IDEs
3 Comments1 Solution306 ViewsLast Modified:
Is anyone aware of a tool or way to reformat entire source code files so that they are readable?

I have some javascript code that is a complete mess.  It is completely unreadable and unworkable.  There are entire methods and loops that are combined into a single line, inconsistent use of white spaces, no indentation, wrong indentation, and downright confusion.  

I'm looking a tool or something that make it readable.  Ideally, no matter now bad or ugly will give me a nice clean workable / readable javascript file that conforms to best coding practices?

I'm using vim on cygwin right now, but I'm no expert.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 3 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 3 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros