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.

目前為 2025-03-02 提交的版本,檢視 最新版本

作者
bytesized
評價
0 0 0
版本
1.0
建立日期
2025-03-02
更新日期
2025-03-02
尺寸
6.2 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.

QingJ © 2025

镜像随时可能失效,请加Q群300939539或关注我们的公众号极客氢云获取最新地址