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.

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Greasemonkey 油猴子Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Violentmonkey 暴力猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴Userscripts ,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展,例如 Tampermonkey 篡改猴,才能安装此脚本。

您需要先安装一款用户脚本管理器扩展后才能安装此脚本。

(我已经安装了用户脚本管理器,让我安装!)

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展,比如 Stylus,才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

您需要先安装一款用户样式管理器扩展后才能安装此样式。

(我已经安装了用户样式管理器,让我安装!)

作者
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.