Secondary search
See original GitHub issueI’d like to be able to search for something, for example ipad
and then in the files which contain that term, search for something else, for example terminal
.
IE find files which contain ____ && ____.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:10
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Secondary Research: Definition, Methods & Examples
Secondary research, also known as desk research, is a research method that involves compiling existing data sourced from a variety of channels. This...
Read more >Secondary Search Techniques | Firehouse
The mission of the secondary search is to locate any unaccounted-for victims. On completion of the secondary search, the worst possible scenario ...
Read more >Secondary Research- Definition, Methods and Examples.
Secondary research or desk research is a research method that involves using already existing data. Existing data is summarized and collated to increase...
Read more >Secondary research - Wikipedia
Secondary research involves the summary, collation and/or synthesis of existing research. Secondary research is contrasted with primary research in that ...
Read more >Primary Research vs Secondary Research: Definitions ...
While primary research involves active participation from the researcher themselves, secondary research involves the summary or synthesis of ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Could also be a good extension candidate using the (proposed)
findTextInFiles
API.For your original case, it sounds like what I often use “files to include” for, when I want to search for the use of a term like ipad in some feature area like notebooks, I would use
notebook
or*Notebook*
(note that it’s case sensitive)I made an extension which applies a workaround by copying the current search results, regex-ing for the filenames, getting their relative paths and then putting those paths into the 'files to include` filter. Find and Transform.
Specifically Using the Search Results files in another search.
Use from the context menu, Command Palette or a keybinding like:
There are other ways to use the
${resultsFiles}
variable as well. Such as in thefind-and-transform.searchInResults
command where it is automatically applied.Using this keybinding:
Demo:
[Since the context menu item for this really belongs in the Search results context menu but that is not currently exposed to extensions, I am going to file an issue requesting it. See https://github.com/microsoft/vscode/issues/127896]