Closed Bug 1297092 Opened 8 years ago Closed 6 years ago

Search for uses of a local variable

Categories

(Webtools :: Searchfox, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mccr8, Unassigned)

Details

One common task I use SearchFox for is auditing all of the uses of a particular local variable. This is difficult when the method is multiple pages long, which is unfortunately fairly common in Gecko. My current approach is to hover over a use or definition of the variable, then scroll the page. This retains the highlight as long as I don't jostle the cursor, but is awkward.

I think it would be nicer if I could click on a use or definition of the variable and get a little menu that I could click on to a search for all instances of that particular variable, like we get for a method.
[Tracking Requested - why for this release]:
There's a sticky highlight feature now which should address the core concern in comment 0. Feel free to reopen if that's not sufficient.
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Yeah, it is great, thanks!
You need to log in before you can comment on or make changes to this bug.