|
@@ -67,7 +67,29 @@
|
|
|
"title": "Copy to AI: 单选"
|
|
"title": "Copy to AI: 单选"
|
|
|
}
|
|
}
|
|
|
]
|
|
]
|
|
|
- }
|
|
|
|
|
|
|
+ },
|
|
|
|
|
+ "keybindings": [
|
|
|
|
|
+ {
|
|
|
|
|
+ "key": "ctrl+k ctrl+c",
|
|
|
|
|
+ "command": "copy-ai-ctx.copySelection",
|
|
|
|
|
+ "when": "editorHasSelection"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "key": "ctrl+k ctrl+c",
|
|
|
|
|
+ "command": "copy-ai-ctx.copyFile",
|
|
|
|
|
+ "when": "!editorHasSelection && editorFocus"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "key": "ctrl+k ctrl+c",
|
|
|
|
|
+ "command": "copy-ai-ctx.copySelectedFiles",
|
|
|
|
|
+ "when": "explorerViewletVisible && !listMultiSelection"
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ "key": "ctrl+k ctrl+c",
|
|
|
|
|
+ "command": "copy-ai-ctx.copyMultiFiles",
|
|
|
|
|
+ "when": "explorerViewletVisible && listMultiSelection"
|
|
|
|
|
+ }
|
|
|
|
|
+ ]
|
|
|
},
|
|
},
|
|
|
"scripts": {
|
|
"scripts": {
|
|
|
"vscode:prepublish": "node esbuild.js --minify",
|
|
"vscode:prepublish": "node esbuild.js --minify",
|