Skip to content

Stabilize TextSearchProvider API #59921

Open

Description

@roblourens

Master issue to track stabilizing the TextSearchProvider extension API...

Forked from #47058

Depends on

Activity

  1. added
    search
    on Oct 3, 2018
  2. self-assigned this
    on Oct 3, 2018
  3. added
    feature-request
    on Nov 9, 2018
  4. suntobright commented on Mar 11, 2019

    @suntobright

    looking forward to progress

  5. mostafaeweda commented on Apr 23, 2019

    @mostafaeweda

    Any progress on moving this to the stable API?

  6. gjsjohnmurray commented on Jun 7, 2019

    @gjsjohnmurray
    Contributor

    Is there anything preventing this from happening? Both of the issues it's shown as depending on are already closed.

  7. roblourens commented on Jun 7, 2019

    @roblourens
    MemberAuthor

    This still isn't ready to be stabilized, I don't have any ETA, sorry.

  8. eamodio commented on Jun 7, 2019

    @eamodio
    Contributor

    There needs to be a 😢 reaction

  9. gjsjohnmurray commented on Oct 21, 2019

    @gjsjohnmurray
    Contributor

    Any progress to report on getting this finalized?

  10. added this to the Backlog milestone on Oct 27, 2019
  11. gjsjohnmurray commented on Dec 16, 2019

    @gjsjohnmurray
    Contributor

    Please put this on the 2020 roadmap, preferably sooner rather than later.

  12. gjsjohnmurray commented on Aug 16, 2020

    @gjsjohnmurray
    Contributor

    roblourens 🙏 can this get some love soon? Those of us building extensions that implement FileSystemProvider can only offer search if we get our users to (a) use Insiders, (b) download and install a VSIX, and (c) launch Insiders with the correct --enable-proposed-api argument.

    It is a small relief that (c) can now be achieved using argv.json, but what we really need is the API finalized.

  13. NightRa commented on Aug 21, 2020

    @NightRa

    I'm interested in the stabilization of this as well.
    What's blocking this, and how can we help?

  14. roblourens commented on Aug 21, 2020

    @roblourens
    MemberAuthor

    Sorry, it still needs a lot of thinking and I won't get to it in the near future

  15. 80 remaining items

  16. richpodraza commented on Nov 5, 2024

    @richpodraza

    I'm very interested in this API for writing an integration with OpenGrok. The way I'm imagining it working is a replacement or parallel function to Find in Files (ctrl + shift + f). Ideally, the basic inputs that OpenGrok supports would be text input fields at the top of a left-hand side panel the same way Find in Files is today. Then, the results would be displayed below, in such a way that if the user clicks the search result it looks for and opens the LOCAL file in a new tab, similar to how current Find in Files works when a user clicks on a search result.

    Of course, configuration would be needed to provide the OpenGrok host, username and password, plus some mapping of a local folder designated as the project root folder which matches an OpenGrok project. This would be needed so that OpenGrok search results could direct VSCode to open the local file as opposed to the web GUI for OpenGrok.

    The main goal behind this would be to leverage a highly-indexed search engine replacement for Find in Files for large code bases where Find in Files can be very slow. Does this sound like a use case that TextSearchProvider would support?

  17. caleb-allen commented on Dec 2, 2024

    @caleb-allen

    Rich Podraza (@richpodraza) you may be interested in #230337, your use case sounds like the feature set discussed on that issue

  18. tinder-tannerbennett commented on Mar 20, 2025

    @tinder-tannerbennett

    Howdy Peng Lyu (@rebornix) / Osvaldo Ortega (@osortega) / Andrea Mah (@andreamah)! Can we get an update on this? I really need a way to ignore the "excluded" files/search settings, as well as .gitignore

    I realize that you have higher priority items as you said, but, it would be nice if we could get just a small overload of findFiles with the FindFiles2Options, with just the parts needed to accomplish this 😄 (I'm not waiting on the more complicated APIs you discussed previously)

  19. isc-bsaviano commented on Apr 10, 2025

    @isc-bsaviano

    Osvaldo Ortega (@osortega) Can this please be added to the April roadmap? Andrea did some great work to bring this close to finish line so it would be great to see it finally get there!

  20. mb21 commented on May 17, 2025

    @mb21

    Is findFiles currently (or in this new version) supposed to find newly added files in a virtual workspace? Because currently it doesn't.

    Edit: I filed this as a bug, since it also happens in the GUI, regardless of any extensions.

  21. depressedX commented on Jul 11, 2025

    @depressedX

    Is it possible to provide a search API, which enable extension to search like Command Shift P, fuzzy search ?

  22. gjsjohnmurray commented on Aug 10, 2025

    @gjsjohnmurray
    Contributor

    Kai Maetzel (@kieferrm) please bring this back to the iteration plan.

  23. phil294 commented on Oct 4, 2025

    @phil294

    Getting an actual textSearchProvider would be great - same as findFiles2. I think you can build some pretty neat things with these "new" APIs and I wonder why this isn't being pushed over the finish line.

    With that said,

    Also, we only allow one provider per file scheme, so regular text would lose the traditional ripgrep text results if you overwrote our default provider for text with your own.

    Note that you can't override how it looks at regular file:// schemes, so if you have a workspace that shows files normally, you can't trigger a custom provider. (source)

    Is this definite? I'd really like to be able to overwrite the default file:// search provider because the default one is so slow. I've been building a FTS-indexed extension here which provides immediate search results regardless of your workspace size, but it seems that even with the new API, I'm stuck with constructing a second Search view and a second file picker instead of augmenting the default ones. I'd very much appreciate if you could reconsider or maybe share your thoughts on that decision.

  24. gjsjohnmurray commented on Mar 27, 2026

    @gjsjohnmurray
    Contributor

    Mentioned in this discussion that I just started.

  25. gjsjohnmurray commented on Jun 3, 2026

    @gjsjohnmurray
    Contributor

    Andrea Mah (@andreamah) it's now almost exactly 18 months since Peng Lyu (@rebornix) reassigned this issue to Osvaldo Ortega (@osortega), since when there has been no discernible progress towards getting this API finalized. Is there anything you can do to help breathe new life into it? 🙏

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

api-proposalfeature-requeston-testplansearchsearch-api

Type

No type

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions