SJ Innovation Chat is a VSCode extension that brings the power of OpenAI's GPT models directly into your development workflow. Send prompts, get smart coding help, and use right-click actions like Explain Code, Refactor, and more — all within VSCode.
🚀 Features
🔑 Enter your OpenAI API Key securely in settings
💬 Ask AI anything from the sidebar chat
📄 Right-click code and select:
💡 Explain with AI
🔧 Refactor with AI
🧪 Generate Tests
📃 Document This
🧠 Uses OpenAI's GPT models to understand and enhance your code
🖼️ Chat history and multi-turn conversations (optional)
🛠️ Installation
Install the extension from the VSCode Marketplace(Or sideload the .vsix file if testing locally)
After installation, a setup panel will appear in the bottom-left corner of VSCode.
Fill in the required details in the form:
✉️ Email Address
🔑 OpenAI API Key
🌐 Signup Webhook URL
📊 Track Usage Webhook URL
⚠️ Prompt Threshold Limit
Click Submit to complete setup.
You can now:
🧠 Use the sidebar chat assistant
🖱️ Right-click code to Explain, Refactor, or Document with AI
💡 Usage
🗨️ From the Sidebar Chat
Click the **SJ Innovation ** icon in the sidebar
Type your question or code-related prompt
Get answers directly in the chat panel
🖱️ Right-Click Menu
Select any block of code and right-click to choose:
💡 Explain with AI – Understand complex code
🔧 Refactor with AI – Improve or simplify code
🧪 Generate Tests – Create unit test suggestions
📃 Document This – Auto-generate comments and documentation
🧩 Settings
Setting
Description
aiAssistant.openaiApiKey
Your OpenAI API key
aiAssistant.model
OpenAI model to use (e.g. gpt-4o-mini, gpt-3.5-turbo)
🛠 Supported Models
gpt-3.5-turbo
gpt-4o-mini(if your key has access)
🧑💻 Contributing
Want to contribute? Open an issue or fork the repo and submit a PR!