Take the 2-minute tour ×
Programmers Stack Exchange is a question and answer site for professional programmers interested in conceptual questions about software development. It's 100% free, no registration required.

I got a quite huge JS library whose details I need to be able to understand. Unfortunately, I am quite new to Js development since I am coming from Flash and Flex. It is very hard for me to orient around all the files of the framework. I miss one great advantage of the AS3 support tools - being able to see the actual definition of a given piece of code, and thus start my journey from somewhere. Whatever file I tend to pick up, I have the feeling that they are all mixed up, and I am somewhere in the middle. methods are being called, properties are being set, however, I don't even know where to look for the definitions of those things. I am desperate.

In general, what tips could you suggest for browsing and studying large and distributed pieces of JS code?

share

migration rejected from stackoverflow.com Mar 6 at 20:26

This question came from our site for professional and enthusiast programmers. Votes, comments, and answers are locked due to the question being closed here, but it may be eligible for editing and reopening on the site where it originated.

closed as too broad by gnat, Bart van Ingen Schenau, MichaelT, GlenH7, Robert Harvey Mar 6 at 20:26

There are either too many possible answers, or good answers would be too long for this format. Please add details to narrow the answer set or to isolate an issue that can be answered in a few paragraphs.If this question can be reworded to fit the rules in the help center, please edit the question.

    
Don't pelt me with stones here - but API documentation is killer. –  Danjah May 31 '11 at 23:09
    
String search is easy to use. Hopefully the code has documentation. You can read it all –  Raynos May 31 '11 at 23:21
    
also don't forget to use keyboard shortcuts :) –  Ross Jun 2 '11 at 4:56
    
If you would be under Linux i would recommend grep + cTags but... –  JackLeo Jun 2 '11 at 7:47
comments disabled on deleted / locked posts