Skip to content

Allow contributions to the search viewlet context menu #107996

@digeff

Description

@digeff

Feature: Set breakpoints on all results of a text search

Sample scenario: I want to set a breakpoint on all the places that sourceMap.url is accessed. I can use the Text Search feature to find all those places. There are a lot of places where that code is used, so it's annoying to have to go through each one to set a breakpoint.
It'd be great if after searching for sourceMap.url I could tell VS Code to put a breakpoint in all the lines or places that the text search feature found.

This would allow us to to thing such as:

  • Search for all places that call fs.readFile, and set a breakpoint on all of them
  • Search for all constructors, and set a breakpoint on all of them
  • Assuming I can create a Regexp to find the first line of all methods, I could set a breakpoint that stops in the first line of each method for a particular class
  • Search for all places that use process.env and set a breakpoint on all of them
    etc...

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)apiapi-proposalfeature-requestRequest for new features or functionalitysearchSearch widget and operation issues

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions