How to manually populate Find Results window

Howdy,

Is there a way to programmatically populate the Find Results window without supporting the full Find/Replace framework (via IVsFindTarget etc..)   Similar to creating custom tasks in the task list

Thanks

Eric


Answer this question

How to manually populate Find Results window

  • youngDev

    Hi Eric,

    Unfortunately, there is currently no way of doing this in the framework.  I will add this to a list of issue that we will look at in the future.  What are you trying to do

    Thanks!

    -Fiona

  • Maroller

    Hi Eric,

    The Find Results window is not extensible right now so you won't be able to insert text there.  However, you can do this via the output window via IVsOutputWindow and IVsOutputWindowPane.

    I hope this helps!

    Regards,
    Fiona

  • Momchil

    Hi Fiona,

    In my VS Package, I have a custom editor which supports a functionaility that allows a user to query where a particular object is used elsewhere in the project.  Note that this is different than finding where a text string appears which is the typical functionality of Find/Replace.  I would like to populate the Find Result window with the results that I get back from making this query on our custom API.

    So you're saying that the only way to populate the Find Results window is to implement IVSFindTarget then   How exactly would I got about doing that if my search does not involve text strings

    Thanks

    Eric

  • How to manually populate Find Results window