Ask questions about the code you're looking at, right from a VS Code
sidebar. AI Tutor sends your question — plus the content of your active
file — to an AI backend and shows the answer as formatted chat, so you
can get an explanation, a bug hunt, or refactor suggestions without
leaving the editor.
Note: This extension is built for a Metropolitan State University
computer science course. It's meant to walk students through lectures
and assignments, giving them a context-aware tutor alongside the code
they're working on.
Features
Context-aware chat — a sidebar webview (activity bar icon) that tracks your active editor and always knows which file you're asking
about; a chip in the chat shows the current file.
**@ file mentions** — type @ in the chat box to search and attach
other files in your workspace as extra context for a question, not
just the active file.
Bring your own API key — click the settings (gear) icon, or run
AI Tutor: Set Your AI API Key, to store a personal AI provider key
in VS Code's encrypted secret storage. When set, it's sent to the
backend on a dedicated header so your requests use your own account
instead of the shared backend.
Markdown-formatted answers — fenced code blocks, inline code, and
bold text in responses are rendered, not shown as raw markdown.
Local activity log — every question, the files attached to it, and
the backend's answer (or error) are appended to .log.json in your
workspace root, so you have a running record of what you asked.