On 18.11.2011 11:08, Gandhi, Shailey wrote:

Hi

I have a question about the xref search with reference to java files.

In a java source file in which I have a class defined, when I click on the name of the class, what is opengrok supposed to search?

In my case it tries to do a definition search and lists the .jar file that has the name of the class.

Is this how it is supposed to work?


the definition db is for the whole project
if there are 2 definitions which fit the name, then yes (and they could be anywhere, definition db is built from all files, which ctags can parse and we have an analyzer for)

if there would be just one def and inside the same file, then it would jump to it in the same file (even if there would be one in whole index it would probably take you directly to it even in other file)

one my wonder why index jar files ;)

--
L

Thanks in advance

Shailey

------------------------------------------------------------------------
NOTICE: Morgan Stanley is not acting as a municipal advisor and the opinions or views contained herein are not intended to be, and do not constitute, advice within the meaning of Section 975 of the Dodd-Frank Wall Street Reform and Consumer Protection Act. If you have received this communication in error, please destroy all electronic and paper copies and notify the sender immediately. Mistransmission is not intended to waive confidentiality or privilege. Morgan Stanley reserves the right, to the extent permitted under applicable law, to monitor electronic communications. This message is subject to terms available at the following link: http://www.morganstanley.com/disclaimers. If you cannot access these links, please notify us by reply message and we will send the contents to you. By messaging with Morgan Stanley you consent to the foregoing.


_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

_______________________________________________
opengrok-discuss mailing list
opengrok-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/opengrok-discuss

Reply via email to