✨ Cursor AI Chat
Your AI coding partner inside VS Code, Cursor, and compatible editors
Chat about your code · Generate and document code · Review agent changes

Get started · What's new · Shortcuts · Tips
What is Cursor AI Chat?
Cursor AI Chat adds an AI assistant panel to your editor. Ask questions about your code, attach files with @, switch between chat modes, generate code with a shortcut, and — new in 0.4.0 — document your code in place, preview changes before accepting them, and use the interface in 13 languages.
You bring your own Cursor API key from cursor.com. The extension connects to Cursor models (Auto, Composer, Claude, GPT, and more).
Unofficial extension — not affiliated with Cursor.
🆕 What's new in 0.4.0
- 13 languages — full UI in English, Czech, Korean, Chinese, Japanese, German, French, Spanish, Portuguese, Italian, Polish, Russian, and Ukrainian. Set in ⚙ → Settings → Language.
- Documentation CodeLens — click Add documentation or Add functional comment above any function, class, interface, or enum. For types with nested members, choose whether to document just the declaration or everything inside.
- Code generation preview — see a live diff in the editor before accepting generated code. Accept all, discard, or insert selected parts.
- Chat history — past conversations are saved. Open history, rename threads, or delete old chats.
- Settings panel — API key, subscription, models, agents, and tools — all in one place inside the chat sidebar.
- Agent review — when the agent edits files, review diffs and undo or commit from a dedicated panel.
- Clarifying questions — the agent can ask structured follow-up questions right in chat.
Note: Inline ghost-text suggestions are temporarily disabled while reliability is improved. Code generation and chat work as usual.
📥 Install
- Open Extensions (
Ctrl+Shift+X / ⌘⇧X)
- Search Cursor AI Chat
- Click Install
Or from Quick Open (Ctrl+P / ⌘P):
ext install CoffeeRequired.cursor-ai-assistant
Also available on the Visual Studio Marketplace.
🚀 Get started in 3 steps
1. Open the chat
Click the ✨ Cursor AI icon in the left sidebar, or press Ctrl+Shift+I (⌘⇧I on Mac).
2. Activate your subscription
On first use, sign in or subscribe at cursoraichat.com — a free trial is available.
In the chat panel: ⚙ → Subscription, or follow the prompt when the extension asks.
3. Add your Cursor API key
- ⚙ → API Key in the chat panel, or
- Command Palette → Cursor AI: Set API Key
Get your key at cursor.com/dashboard/integrations — it starts with cursor_.
That's it. Start typing in the chat, or try the shortcuts below.
✨ What you can do
💬 Chat about your code
Open the sidebar and ask anything — explain a function, find bugs, plan a refactor. The assistant sees your open file and selection when relevant.
Quick ways to add context:
- Select code →
Ctrl+Shift+L (⌘⇧L) — ask about the selection
- Right-click → Ask About Selection or Ask About Current File
- Type
@ in chat to attach a file or folder
- Drag up to 4 images into the chat (PNG, JPEG, GIF, WebP)
📝 Document your code (new)
Above functions, classes, interfaces, and enums you'll see CodeLens links:
- Add documentation — JSDoc, TSDoc, or language-appropriate doc comments
- Add functional comment — a short comment explaining what the code does
For classes and interfaces with nested members, a dialog lets you document just the type or include all nested items.
⚡ Generate code
Need a function, test, or refactor?
- Place the cursor where code should go (or select code to replace)
- Press
Ctrl+Shift+G (⌘⇧G)
- Describe what you want — e.g. "Add input validation" or "Convert to async/await"
- Review the diff preview, then accept, discard, or insert selected changes
Also available from the editor right-click menu → Generate Code.
📂 Chat history (new)
Every conversation is saved. Open History in the chat header to switch between past threads, rename them, or delete old chats.
🔍 Review agent changes (new)
When the agent edits your files, click Review to see a side-by-side diff of all changes. Undo everything or commit when you're satisfied.
🎛️ Chat modes
Switch how the assistant behaves:
| Mode |
Best for |
| Agent |
Making changes, running tools, editing files |
| Plan |
Designing before you build — /plan |
| Ask |
Questions only, no edits — /ask |
| Debug |
Tracking down bugs — /debug |
Type / in chat for commands like /clear, /model, /summarize, and /help.
🌍 Language (new)
The chat panel and settings follow your VS Code language by default. To pick a specific language: ⚙ → Settings → Language, or set Cursor AI: UI Language in VS Code settings.
Supported: English, Czech, Korean, Chinese (Simplified), Japanese, German, French, Spanish, Portuguese (Brazil), Italian, Polish, Russian, Ukrainian.
⌨️ Keyboard shortcuts
| Shortcut |
What it does |
Ctrl+Shift+I · ⌘⇧I |
Open chat |
Ctrl+Shift+L · ⌘⇧L |
Ask about selected code |
Ctrl+Shift+G · ⌘⇧G |
Generate code at cursor / selection |
Enter |
Send chat message |
Shift+Enter |
New line in chat |
Customize any shortcut in File → Preferences → Keyboard Shortcuts — search for Cursor AI.
💡 Tips
Pick the right model — click the model name in the chat header, or type /model composer (or any model name). Use Auto when you're not sure.
Start fresh — /clear or the + button in the chat header starts a new conversation.
Attach context on purpose — @src/utils.ts gives the AI exactly the file you mean, instead of relying on what's open.
Use Plan mode for big tasks — /plan How should I restructure the auth module? before asking the agent to edit files.
Copy with context — when you copy selected code (Ctrl+C), the extension can attach file path and line numbers for smarter chat replies.
Document in bulk — for a class with many methods, use Include nested members to generate comments for the whole type at once.
⚙️ Settings (the ones that matter)
Open Settings (Ctrl+, / ⌘,) and search Cursor AI, or use ⚙ Settings inside the chat panel:
| Setting |
What it does |
| UI Language |
Interface language (auto-detect or pick one of 13 languages) |
| Documentation CodeLens |
Show Add documentation / Add functional comment links in the editor |
| Include Workspace Info |
Automatically send open file & selection with chat messages |
| Model |
Default AI model (e.g. auto) |
| Submit With Ctrl Enter |
Send messages with Ctrl+Enter instead of Enter |
More options — inline suggestion model, token limits, agent behavior, MCP tools — are available under the same Cursor AI section and in the built-in settings panel.
🔗 Links
📄 License
MIT — unofficial extension, not affiliated with Cursor.