Quantcast

OpenGrok Search Upon Link Click

classic Classic list List threaded Threaded
6 messages Options
jmadero jmadero
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

OpenGrok Search Upon Link Click

Hi All,
Wondering if the behavior of opengrok is what is expected. My issue is that when I click on a variable name it takes me to the search page of opengrok and puts in the name as the description instead of as a full search. This rarely (actually never) comes up with anything. For instance if I do a regular full search as: validate between, it comes up with a list, I go into validate.src, then I click on SC_VALIDDLG_DATA_BETWEEN and it will place SC_VALIDDLG_DATA_BETWEEN in the description of a search, clicking search comes up with no results. Seems like it would be much more functional for the link to place the object name in the full search line.

Just thinking out loud.


Joel

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Daniel Bankston Daniel Bankston
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: OpenGrok Search Upon Link Click

On 06/12/2012 03:23 PM, Joel Madero wrote:
Hi All,
Wondering if the behavior of opengrok is what is expected. My issue is that when I click on a variable name it takes me to the search page of opengrok and puts in the name as the description instead of as a full search. This rarely (actually never) comes up with anything. For instance if I do a regular full search as: validate between, it comes up with a list, I go into validate.src, then I click on SC_VALIDDLG_DATA_BETWEEN and it will place SC_VALIDDLG_DATA_BETWEEN in the description of a search, clicking search comes up with no results. Seems like it would be much more functional for the link to place the object name in the full search line.

Just thinking out loud.


Joel

Hi, Joel,

That way never works for me, so I don't use it.
My experience was that it took some getting used to, to effectively use opengrok, and I'm sure there's still things I could learn.  Make sure you read the help page http://opengrok.libreoffice.org/help.jsp

For what you are wanting to do to since you know a specific symbol name, I would recommend, for example, typing SC_VALIDDLG_DATA_BETWEEN into the Symbol search box if you want to see places it is used.  (The Definition and Symbol search boxes are case sensitive.)  If you want to limit the directories that are searched, for example sc, type in sc in the File Path search box in conjunction with the above.  (core/sc more specifically, but just sc seems to work.)


--Daniel

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Philipp Riemer Philipp Riemer
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: OpenGrok Search Upon Link Click

In reply to this post by jmadero
2012/6/12 Joel Madero <[hidden email]>:

> Hi All,
> Wondering if the behavior of opengrok is what is expected. My issue is that
> when I click on a variable name it takes me to the search page of opengrok
> and puts in the name as the description instead of as a full search. This
> rarely (actually never) comes up with anything. For instance if I do a
> regular full search as: validate between, it comes up with a list, I go into
> validate.src, then I click on SC_VALIDDLG_DATA_BETWEEN and it will
> place SC_VALIDDLG_DATA_BETWEEN in the description of a search, clicking
> search comes up with no results. Seems like it would be much more functional
> for the link to place the object name in the full search line.
>
> Just thinking out loud.
>
>
> Joel

Since it is code related the "symbol" search field might be a better
place for such links. This e.g. is the behaviour when clicking on a
function name (violet instead of green text) in opengrok source view.

Hopefully this is easily reconfigurable in opengrok's options...

Just my two cents...
Philipp
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Michael Meeks-2 Michael Meeks-2
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: OpenGrok Search Upon Link Click

In reply to this post by jmadero

On Tue, 2012-06-12 at 13:23 -0700, Joel Madero wrote:
> Wondering if the behavior of opengrok is what is expected.
...
> For instance if I do a regular full search as: validate between, it
> comes up with a list, I go into validate.src, then I click on
> SC_VALIDDLG_DATA_BETWEEN and it will place SC_VALIDDLG_DATA_BETWEEN in

        FWIW; I always use:

        git grep SC_VALIDDLG_DATA_BETWEEN

        Quick, searches only files checked into git (what you want), and works
off-line ;-)

        Having said that - improving opengrok is also good :-)

        HTH,

                Michael.

--
[hidden email]  <><, Pseudo Engineer, itinerant idiot

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
jmadero jmadero
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: OpenGrok Search Upon Link Click

Who is actually in charge of fixing something like this open at
opengrok? I agree that there are alternative ways but it would be nice
just to click on the object name and it take you to a valid search
instead of a null search. If this is something that needs to go to
opengrok web developers I can get them an email.


Joel

On Wed, Jun 13, 2012 at 6:33 AM, Michael Meeks <[hidden email]> wrote:

>
> On Tue, 2012-06-12 at 13:23 -0700, Joel Madero wrote:
>> Wondering if the behavior of opengrok is what is expected.
> ...
>> For instance if I do a regular full search as: validate between, it
>> comes up with a list, I go into validate.src, then I click on
>> SC_VALIDDLG_DATA_BETWEEN and it will place SC_VALIDDLG_DATA_BETWEEN in
>
>        FWIW; I always use:
>
>        git grep SC_VALIDDLG_DATA_BETWEEN
>
>        Quick, searches only files checked into git (what you want), and works
> off-line ;-)
>
>        Having said that - improving opengrok is also good :-)
>
>        HTH,
>
>                Michael.
>
> --
> [hidden email]  <><, Pseudo Engineer, itinerant idiot
>
_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Cedric Bosdonnat Cedric Bosdonnat
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: OpenGrok Search Upon Link Click

Hi Joel,

On Wed, 2012-06-13 at 13:11 -0700, Joel Madero wrote:
> Who is actually in charge of fixing something like this open at
> opengrok? I agree that there are alternative ways but it would be nice
> just to click on the object name and it take you to a valid search
> instead of a null search. If this is something that needs to go to
> opengrok web developers I can get them an email.

Well, I usually hack these and commit the patches here:
http://cgit.freedesktop.org/libreoffice/website/?h=opengrok

It's an opensource project, we can hack on it without needing to ask the
opengrok devs for this ;)

--
Cedric

_______________________________________________
LibreOffice mailing list
[hidden email]
http://lists.freedesktop.org/mailman/listinfo/libreoffice
Loading...