Source Xref and JavaDocs learning comprehension

Source: Internet
Author: User

Recently Learning MyBatis official documents, see the "Project Document" section has a lot of content has not seen, make a note, understand.

Did not find the Java related Code interpretation, in fact, with the following version of PHP interpretation, but also very good.

What is Sourcexref?

Sourcexref is a developer tool, that's designed to ease, the process of working on large PHP projects by making it very fast and easy-to-browse the code documentation along with the code itself.

It works by scanning a project directory and translating the files it finds into readable cross-referenced html, simultaneously utilizing comments in the code to produce documentation to accompany it. The result is a collection of plain HTML files, can are read using any browser, with no supporting software require D.

Sourcexref have very minimal requirements to run; Just has a copy of Perl installed is all you need (and the Windows binary supplies so for you). Getting started requires editing or three lines in the configuration file and running the program.

Features

    • Minimal requirements, Minimal setup.
    • No Web server required to view output.
    • cross-references  php classes, Functions, Varia Bles, constants and require/include usage.
    • Extracts phpdoc style documentation from source files.
    • Javascript Enhanced output provides:pretty-prints  p Hp files from the browser.
      • mouse-over information for classes and functions in the source view.
      • hot-jump to the source of any class/function definition .
      • Instant Lookup of classes, functions, constants and tables by name.
      • search/lookup history.

--and find a code site: http://www.sourcexref.com/

  To be concise, that is, in the browser can be directly up through the type, through the call, tracking the structure of the source code, of course, through the link to achieve .

  

What is the relationship between this plugin and Javadocs?

It's pretty much the same, but Javadocs is mostly used to show the various annotations in the code .

  

  

As for the principle of implementation, I was thinking,    first of all, the program files are stored according to the directory, this and the URL in the directory concept can correspond.    then, like the class name, the method name can make a link. The package name is defined in the.  Switch to/up backtracking. Or, based on the class structure in the IDE, making a type table or something like that doesn't make sense. I've never played.     

  

  

Source Xref and JavaDocs learning comprehension

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.