Re: How to customize 'Find in Projects' dialog

Benno Markiewicz <[email protected]>
Newsgroups gmane.comp.java.netbeans.modules.openide.devel
Message-ID <CAA_aP4jF8vv-WEKPyH+1Pq3we_qmBbMm8r6b_hJp-vMg8DZJbg@mail.gmail.com>
Hej Todd,

Geertjan blogged about the search api at least twice.

* https://blogs.oracle.com/geertjan/entry/getting_started_plugging_into_the
* https://blogs.oracle.com/geertjan/entry/search_in_projects_api

The Javadoc of the API might help

*
http://bits.netbeans.org/dev/javadoc/org-netbeans-api-search/overview-summary.html

Or have a look at this scopeprovider, which I provided as a patch in the
past
* https://netbeans.org/bugzilla/show_bug.cgi?id=5009
* http://hg.netbeans.org/main-golden/rev/74c85cd4b12d

With kind regards, markiewb

2016-02-09 21:04 GMT+01:00 Todd Stevenson <[email protected]>:

> I am scratching my head on how I can customize the ‘Find in Projects’
> dialog to set the search scope to force it to only search in the subfolder
> where my files reside in the project.
>
>
>
> I tried setting SearchInfoDefinition in the project Node lookup, but it
> doesn’t seem to see it.   I have noticed there are some classes that seem
> to allow the kind of customization on the ‘Find in Projects’ dialog but I
> can’t find any examples of how to hook it all together.
>
>
>
> Any help?  Thank you in advance.
>
>
>
> *Todd Stevenson*
>
>
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.