| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- {
- "name": "copy-ai-ctx",
- "displayName": "Copy AI Ctx",
- "description": "复制上下文供AI助手使用 —— 复制文件、内容的引用信息",
- "version": "0.3.3",
- "publisher": "fivesay",
- "engines": {
- "vscode": "^1.85.0"
- },
- "categories": [
- "Other"
- ],
- "keywords": [
- "cpai",
- "ai",
- "context",
- "copy",
- "clipboard",
- "chatgpt",
- "claude",
- "pi"
- ],
- "activationEvents": [
- "onCommand:copy-ai-ctx.copySelection",
- "onCommand:copy-ai-ctx.copyFile",
- "onCommand:copy-ai-ctx.copySelectedFiles",
- "onCommand:copy-ai-ctx.copyMultiFiles",
- "onCommand:copy-ai-ctx.copySmart"
- ],
- "main": "./dist/extension.js",
- "contributes": {
- "commands": [
- {
- "command": "copy-ai-ctx.copySelection",
- "title": "Copy to AI: 选中区域"
- },
- {
- "command": "copy-ai-ctx.copyFile",
- "title": "Copy to AI: 当前文件"
- },
- {
- "command": "copy-ai-ctx.copySelectedFiles",
- "title": "Copy to AI: 单选"
- },
- {
- "command": "copy-ai-ctx.copyMultiFiles",
- "title": "Copy to AI: 多选"
- },
- {
- "command": "copy-ai-ctx.copySmart",
- "title": "Copy to AI"
- }
- ],
- "menus": {
- "editor/context": [
- {
- "command": "copy-ai-ctx.copySelection",
- "when": "editorHasSelection",
- "group": "9_cutcopypaste@10"
- },
- {
- "command": "copy-ai-ctx.copyFile",
- "when": "!editorHasSelection",
- "group": "9_cutcopypaste@10"
- }
- ],
- "explorer/context": [
- {
- "command": "copy-ai-ctx.copyMultiFiles",
- "when": "listMultiSelection && explorerViewletVisible",
- "group": "9_cutcopypaste@10"
- },
- {
- "command": "copy-ai-ctx.copySelectedFiles",
- "when": "!listMultiSelection",
- "group": "9_cutcopypaste@10",
- "title": "Copy to AI: 单选"
- }
- ]
- },
- "keybindings": [
- {
- "key": "ctrl+alt+c",
- "mac": "cmd+alt+c",
- "command": "copy-ai-ctx.copySmart"
- }
- ]
- },
- "scripts": {
- "vscode:prepublish": "node esbuild.js --minify",
- "build": "node esbuild.js",
- "watch": "node esbuild.js --watch",
- "lint": "eslint src --ext .ts",
- "package": "vsce package --out ./dist/",
- "publish": "vsce publish"
- },
- "devDependencies": {
- "@types/node": "^20.0.0",
- "@types/vscode": "^1.85.0",
- "@typescript-eslint/eslint-plugin": "^6.0.0",
- "@typescript-eslint/parser": "^6.0.0",
- "@vscode/vsce": "^2.19.0",
- "esbuild": "^0.20.0",
- "eslint": "^8.56.0",
- "typescript": "^5.3.0"
- },
- "repository": {
- "type": "git",
- "url": "https://git.ooo.ink/vsix/vsix-copy-ai-ctx.git"
- }
- }
|