Install
Install with PiG
pig install npm:@muzi3/copy-codeInstall with Pi
pi install npm:@muzi3/copy-codeReview before installing
Packages run code with your permissions and influence agent behavior. Catalog inclusion is not a security audit. Review the source before installing a third-party package.
Pi manifest JSON
The pi field of package.json.
{
"extensions": [
"./extensions"
]
}README
Written by the package's publisher, shown as published in version 0.1.2 (README.md). PiG does not review it.
@muzi3/copy-code
pi 终端 UI 代码块复制扩展,两个入口共用一套逻辑:
- 代码块上方的
[⧉ 复制 #n]按钮:鼠标点击 /copy-code [关键词]:模糊搜索整个会话的代码块(键盘入口)
代码块扫描统一走 @muzi3/code-button 的 scanCodeBlocks,剪贴板用 pi 内置的 copyToClipboard。
安装
pi install npm:@muzi3/copy-code
依赖
@muzi3/code-button(按钮基座 + 扫描器)@muzi3/fuzzy-selector(模糊选择器组件)
License
MIT