SearchFox Search Result Copy

Injects buttons to the left of searchfox.org results, allowing for a one-click copy of the <path>:<line> of the location of the result.

作者
bytesized
今日安裝
0
安裝總數
0
評價
0 0 0
版本
1.03
建立日期
2025-03-02
更新日期
2025-03-02
尺寸
6.4 KB
授權條款
MIT https://mit-license.org/
腳本執行於

This script injects "copy" buttons into searchfox.org, just to the left of the search result line numbers. Pressing a button copies file and line number (separated by a :) of the search result to the paste buffer and, once the copy has succeeded, turns the copy icon into a checkmark. This can be quite useful when doing things like changing the signature of a widely used function. Just search for the function and go down the list. Copy each usage location into the paste buffer, paste it into the navigation utility of your editor/IDE, change the invocation, and repeat. The checkmarks even make it easy to avoid losing your place.