1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117
| { "name": "ai-code-assistant", "displayName": "AI Code Assistant", "description": "Intelligent code generation and analysis powered by AI", "version": "1.0.0", "engines": { "vscode": "^1.74.0" }, "categories": ["Other", "Machine Learning"], "activationEvents": [ "onCommand:aiAssistant.generateCode", "onCommand:aiAssistant.explainCode", "onCommand:aiAssistant.optimizeCode", "onLanguage:typescript", "onLanguage:javascript", "onLanguage:python" ], "main": "./dist/extension.js", "contributes": { "commands": [ { "command": "aiAssistant.generateCode", "title": "Generate Code", "category": "AI Assistant" }, { "command": "aiAssistant.explainCode", "title": "Explain Code", "category": "AI Assistant" }, { "command": "aiAssistant.optimizeCode", "title": "Optimize Code", "category": "AI Assistant" }, { "command": "aiAssistant.generateTests", "title": "Generate Tests", "category": "AI Assistant" }, { "command": "aiAssistant.generateDocs", "title": "Generate Documentation", "category": "AI Assistant" }, { "command": "aiAssistant.openChat", "title": "Open AI Chat", "category": "AI Assistant" } ], "menus": { "editor/context": [ { "command": "aiAssistant.explainCode", "when": "editorHasSelection", "group": "aiAssistant@1" }, { "command": "aiAssistant.optimizeCode", "when": "editorHasSelection", "group": "aiAssistant@2" }, { "command": "aiAssistant.generateTests", "when": "editorHasSelection", "group": "aiAssistant@3" } ], "view/title": [ { "command": "aiAssistant.openChat", "when": "view == aiAssistantView", "group": "navigation" } ] }, "views": { "aiAssistant": [ { "id": "aiAssistantView", "name": "AI Assistant", "when": "aiAssistant.enabled" } ] }, "viewsContainers": { "activitybar": [ { "id": "aiAssistant", "title": "AI Assistant", "icon": "$(robot)" } ] }, "configuration": { "title": "AI Assistant", "properties": { "aiAssistant.apiKey": { "type": "string", "description": "OpenAI API Key" }, "aiAssistant.model": { "type": "string", "enum": ["gpt-4", "gpt-3.5-turbo", "claude-3", "local"], "default": "gpt-3.5-turbo", "description": "AI Model to use" }, "aiAssistant.maxTokens": { "type": "number", "default": 2048, "description": "Maximum tokens for AI responses" } } } } }
|