|
|
@@ -4,18 +4,21 @@ A VS Code extension to copy code context formatted for AI assistants (Claude, Ch
|
|
|
|
|
|
## Features
|
|
|
|
|
|
-- **Copy Selection** (`Ctrl+Alt+C` / `Cmd+Alt+C`) — Copy selected code with file path, line, and column numbers
|
|
|
-- **Copy Active File** (`Ctrl+Alt+F` / `Cmd+Alt+F`) — Copy the entire active file
|
|
|
-- **Copy Workspace Files** — Pick files from the workspace to copy as context
|
|
|
-- **Copy Selected Files** — Select multiple files in the explorer and copy their contents
|
|
|
+- **Copy Selection** (`Ctrl+Alt+C` / `Cmd+Alt+C`) — 复制选区引用头 `[path LnCn-LnCn]`
|
|
|
+- **Copy Active File** (`Ctrl+Alt+F` / `Cmd+Alt+F`) — 复制当前文件引用头 `[path]`
|
|
|
+- **Copy Workspace Files** — 弹窗选文件,批量复制引用
|
|
|
+- **Copy Selected Files** — 资源管理器多选文件,批量复制引用
|
|
|
|
|
|
## Output Format
|
|
|
|
|
|
```
|
|
|
[src/file.ts L10C1-L25C30]
|
|
|
-```typescript
|
|
|
-// your code here
|
|
|
```
|
|
|
+
|
|
|
+### 多文件
|
|
|
+
|
|
|
+```
|
|
|
+[src/extension.ts][src/copyContext.ts L10C1-L45C20]
|
|
|
```
|
|
|
|
|
|
## Requirements
|