-
Notifications
You must be signed in to change notification settings - Fork 38.2k
Closed
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)apiapi-proposalfeature-requestRequest for new features or functionalityRequest for new features or functionalitysearchSearch widget and operation issuesSearch widget and operation issues
Milestone
Description
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...
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
*duplicateIssue identified as a duplicate of another issue(s)Issue identified as a duplicate of another issue(s)apiapi-proposalfeature-requestRequest for new features or functionalityRequest for new features or functionalitysearchSearch widget and operation issuesSearch widget and operation issues