Giter VIP home page Giter VIP logo

vscode-search-open-all-results's Introduction

Search - Open All Results

Logo

Open all search results at once with a single command.

This extension will loop through all the available search results and open the respective files.

There isn't really a proper API for implementing this, therefor the way this works is a bit hacky, you might find some bugs with it. Try to use this on search queries that produce 1, or very few, results per file.

Install

Follow the instructions in the Marketplace, or run the following in the command palette:

ext install fabiospampinato.vscode-search-open-all-results

Usage

It adds 1 command, available only when the search pane is visible, to the command palette:

'Search: Open All Results' // Open all search results at once

Settings

{
  "searchOpenAllResults.delay": 150, // Delay, in milliseconds, between file openings
  "searchOpenAllResults.fileResultsLimit": 10, // Maximum number of supported results per file
  "searchOpenAllResults.resultsLimit": 250 // Maximum number of results to open
}

License

MIT © Fabio Spampinato

vscode-search-open-all-results's People

Contributors

fabiospampinato avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

vscode-search-open-all-results's Issues

How to open more than roughly 10 results at once?

Thank you for your work on this package! After installing the extension, I ran a search with 150 files with roughly 15 hits per file. However when I press CTRL+P and type: >Open All Results, it will loop over the first ~10 hits only. So I tried: "searchOpenAllResults.fileResultsLimit": 300, and re-loading the VScode. That did not change the behaviour.

Do you know how to make it open all results instead?

Open in split view

Thanks for this wonderful plugin. It's a shame that VSCode does not provide this by default.

Will it be possible to add a second command to open all files on split view? It will be way more useful when you have to du a bunch of changes, or do comparisions.
Thanks in advance.

Open result in one file

If search results in file more than one repeat when i use "Open all result" open file one time not per result.

Screenshot from 2019-04-18 23-16-25

result is 16 in 8 file and open 8 tab not 16.

And sometimes error "Cannot read property 'model' of undefined" in VSCode corner.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.