AI Coding Panel for Claude Code

English | 日本語 | 한국어 | 简体中文 | 繁體中文 | Português
A powerful VS Code panel extension designed to maximize your productivity with Claude Code.
Streamline your Claude Code workflow by managing prompt files, executing AI commands, and viewing results—all within a single integrated panel. No more context switching between file explorer, editor, and terminal.

Why This Extension for Claude Code?
This extension is purpose-built to enhance your Claude Code experience:
- Seamless Terminal Integration: Auto-detects Claude Code sessions with process-based monitoring (no prompt pattern dependency)
- Smart Context Management: Automatically syncs file context across Terminal, Editor, and Plans views when switching tabs
- Intelligent Command Shortcuts: Context-aware buttons that adapt to whether Claude Code is running or idle
- Dynamic Tab Names: Shows running processes (like iTerm2) with command type icons (▶️ Run, 📝 Plan, 📑 Spec)
- Persistent Sessions: Terminal sessions survive view switches—no lost context or history
Features
| Feature |
Description |
| Plans |
Browse and manage prompt files in a flat list view with directory navigation |
| Editor |
Command center for executing Claude Code with Run/Plan/Spec buttons |
| Terminal |
Claude Code-optimized terminal with auto-detection, context-aware shortcuts, and persistent sessions |
| Menu |
Quick access to settings, documentation, and template customization (per workspace or global) |
Feature Details
Plans
Browse and manage files in a flat list view with directory navigation.
| Feature |
Description |
| Flat list display |
Shows contents of the current directory only (not a tree structure) |
| Directory navigation |
Click a directory to navigate into it. Use ".." to go back to the parent directory |
| Auto-file selection |
Automatically selects and displays the oldest TASK.md, PROMPT.md, SPEC.md, or QUICK_START.md file when navigating into a subdirectory. Navigating back to the root directory selects nothing, keeping the root as a plain task list |
| Create directory with prompt |
"Create directory" button automatically creates .claude/plans and an initial prompt file (YYYY_MMDD_HHMM_SS_PROMPT.md) with helpful guidance on using Run/Plan/Spec buttons. File opens automatically in Editor view |
| Quick Start |
⚡ Quick Start button at the top of the view creates a timestamp-named directory (YYYY_MMDD_HHMM_SS) and a QUICK_START.md file without asking for a folder name. Use it when you just want to start writing a task immediately |
| Search |
The search box at the top of the view searches the whole Plans directory (including archived/) by directory name, file name, and Markdown content. Separate words with spaces to require all of them (case-insensitive). Results show the directory relative to the Plans root, and hovering a content match shows the matching line. Click a file to open it in its directory, or a directory to navigate into it. Press Escape or the clear button to return to the list |
| Resume Session |
The Resume Session button at the right of the bottom bar resumes the latest Claude Code session recorded in metadata.md of the current directory. Each Spec / Plan / Run adds a line to metadata.md in the directory of the sent file (for example - 2026/10/17 18:54:39 \| run \| 2026_1017_1854_39_PROMPT.md \| claude --resume 0f1d2c3b-...). The sent file is opened in the Editor view, and if Claude Code is already running in the active Terminal tab, the session is resumed in a new tab |
| Path display |
Current path shown as the first item in the list with inline action buttons (New PROMPT.md, New TASK.md, New SPEC.md, Copy, Rename, New Directory, Archive) |
| Date/time prefix |
Displays date or time before directory names: [HH:MM] for today, [MM/DD] for other dates. In subdirectories, file names are prefixed as well (files in the root directory are shown without prefix). Timestamped prompt files are shortened by replacing the timestamp with the prefix (e.g. 2026_1011_0206_17_QUICK_START.md → [02:06] QUICK_START.md); the actual file name is unchanged |
| Editor target file icons |
Files opened in Editor view (TASK.md, PROMPT.md, SPEC.md, QUICK_START.md) display an edit icon to distinguish them from regular Markdown files |
| Sorting |
Files are sorted by creation date (ascending) by default |
| Drag & Drop |
Copy files by dragging them within the view or from external sources. Hold Shift while dragging in from outside the view: VS Code disables pointer events on webview-based views during a drag unless Shift is held. Drop onto a directory row to copy into that directory, or anywhere else in the view to copy into the directory currently shown. Folders cannot be dropped (files only). A reminder is shown at the bottom left of the view |
| Inline action tooltips |
Hovering an inline action icon on a row (Archive, New PROMPT.md, Rename..., Insert Path to Editor and so on) shows the name of the action |
| Keyboard navigation |
Use ↑ / ↓ to move the selection and Enter to open the selected item |
| Auto-refresh |
Automatically updates when files are created, modified, or deleted (even when the view is hidden) |
| Settings icon |
Quick access to default path and sort configuration |
Editor (Claude Code Command Center)
Edit Markdown prompt files and execute Claude Code commands directly from the panel.
| Feature |
Description |
| Run/Plan/Spec Commands |
Execute Claude Code with pre-configured commands: - Run (Cmd+R / Ctrl+R): claude "Execute the instructions described in the file at ${filePath}" - Plan: claude --permission-mode plan "Review ... create an implementation plan ..." - Spec: claude --permission-mode plan "Review ... create specification documents ..." Auto-saves before execution and works even without a file open |
| Send History |
Pressing Spec / Plan / Run appends the send date and time to a ## sent history section at the end of the open file (for example - run : 2026/09/06 21:27:29). The section is reused on later sends, and recording can be turned off with editor.recordSendTimestamp |
| Resume Command |
Each Spec / Plan / Run starts Claude Code with a generated session ID, and the matching command is recorded next to the timestamp (for example - run : 2026/09/06 21:27:29 \| claude --resume 0f1d2c3b-...) so the session can be reopened later. Turn it off with editor.recordResumeCommand |
| Auto-Terminal Integration |
Commands are sent to Terminal view with automatic file-tab association for seamless workflow |
| Auto-display |
Automatically opens when selecting a timestamp-named Markdown file (format: YYYY_MMDD_HHMM_SS_PROMPT.md, ..._TASK.md, ..._SPEC.md, or ..._QUICK_START.md). Other Markdown files open in the standard editor |
| Two-Row Layout |
The view is split into two bars: the top bar holds Prompts / Edit / Save on the left and Spec / Plan / Run on the right, and the bottom bar holds output md / output memory on the left and the Next button on the right |
| Save button |
Displays in the top bar with a color change indicating unsaved changes. Creates new file if none is open (saves to current Plans directory) |
| Next button |
Red Next button in a dedicated bar at the bottom of the view. Creates a new timestamped PROMPT.md, opens it, and puts the caret in the text area so you can start typing right away. Also available with Cmd+M / Ctrl+M |
| output md / output memory buttons |
Buttons on the left of the bottom bar that send an instruction to the Claude Code session running in the active Terminal tab - for use after starting a session with Run / Plan / Spec. output md asks it to write the task status (what is done, what is left, and why) to YYYY_MMDD_HHMM_SS_status.md, and output memory asks it to write reusable knowledge from the session (preferences, project conventions, pitfalls) to YYYY_MMDD_HHMM_SS_memory.md, both in the directory of the open file. Nothing is sent, and a warning is shown, while Claude Code is not running or no file is open. The text is customizable with editor.outputMdPrompt / editor.outputMemoryPrompt |
| Quick Run |
By default, Run appends the output md instruction (editor.outputMdPrompt) under a # output md heading to the editor content it sends, so Claude Code writes the task status to YYYY_MMDD_HHMM_SS_status.md in the directory of the open file after finishing the task. Turn on editor.quickRun to skip this and send the editor content as is. Only the sent command changes - the open file is not modified |
| Prompts button |
Prompts button at the left end of the top bar, to the left of Edit. Clicking it opens a template menu just below the button, and the template you pick is inserted at the caret (pressing the button again, clicking elsewhere, or pressing Escape closes the menu). The Add template item at the bottom of the menu creates a new template: choose where to create it (Workspace or Global), enter a name, and the file is created under that directory and opened in the VS Code editor. Templates live in .vscode/ai-coding-panel/prompts/*.md for the workspace and in <globalTemplatesPath>/prompts/*.md for every workspace (one file per template). Both are listed together, with the global ones marked (global); a file name present in both is taken from the workspace. When neither holds a Markdown file, the templates bundled with the extension are used. Either source can be left out of the list with editor.disableWorkspacePromptTemplates or editor.disableGlobalPromptTemplates. The file content is inserted as it is, so a leading # heading is inserted too - the heading is only used as the name in the menu. {{filename}}, {{filepath}}, {{dirpath}}, {{datetime}}, and {{timestamp}} are replaced with the values of the open file. The same action is available from the command palette as Insert Prompt Template, which shows a quick pick instead. Run Customize Prompt Templates from the Workspace section of the Menu view to copy the bundled templates into the workspace, or the item with the same name in the Global section to copy them into the global directory |
| Button icons |
Every button uses a VS Code codicon (Spec: book, Plan: checklist, Run: play, Next: new file, Edit: pencil, Save: floppy disk, Prompts: snippet, output md: Markdown, output memory: database) with a text label next to it, matching the Quick Start button in Plans View |
| Customizable commands |
Configure Run, Plan, and Spec commands in settings to match your workflow |
| Clickable URLs |
URLs in the text are underlined and open in the default browser on click. Right-click a URL to choose Open in Default Browser or Open in Integrated Browser (VS Code's Simple Browser). Right-clicking anywhere else shows the standard VS Code menu |
| Read-only mode |
Automatically switches to read-only mode when the file is active in VSCode editor |
| Auto-save |
Automatically saves when switching files, navigating directories, or closing the view |
| Restore editing |
Restores the editing file when returning from another extension |
| Settings icon |
Quick access to command configuration |
| Focus indicator |
Shows a border around the view when focused |
Terminal (Claude Code Optimized)
The embedded terminal is purpose-built for Claude Code with intelligent automation and context awareness.
| Feature |
Description |
| Claude Code Auto-Detection |
Process-based detection (checks every 1.5s) reliably identifies Claude Code sessions independent of prompt changes. Automatically switches UI and shortcuts when Claude Code starts/exits |
| Context-Aware Shortcuts |
Smart buttons that change based on state: - Not running: claude, claude -c, claude -r, claude --from-pr (inserts only, does not run), claude update - Running: /model sonnet, /model opus, /compact, /clear, /exit Enables quick model switching and update commands during Claude Code sessions |
| Run Shortcut |
Press Cmd+R / Ctrl+R while the Terminal view is focused to run the Editor view's Run command. Unsaved editor changes are saved first, and the key is not forwarded to the shell |
| Command Type Icons |
Tab names display icons indicating command origin: ▶️ Run button 📝 Plan button 📑 Spec button |
| Dynamic Process Names |
Like iTerm2, tab names update automatically to show the currently running process |
| Tab-File Association |
Commands from Editor view link the file to the terminal tab. Switching tabs automatically: - Opens the associated file in Editor view - Navigates to the file's directory in Plans view - Follows the task directory when it has been renamed |
| Session Persistence |
Terminal sessions and output history survive view switches or extension changes—your work is never lost |
| Multiple tabs |
Create up to 5 independent terminal tabs. Click the "+" button to add a new tab, click a tab to switch. Close button (× Close) is located at the right end of the shortcut area |
| Auto-scroll |
Maintains scroll position at bottom when new output arrives or when view is resized (only if already at the bottom) |
| Clickable links |
URLs open in browser, file paths (e.g., ./src/file.ts:123) open in editor with line navigation. A URL split across two lines by wrapping is rejoined before opening |
| URL context menu |
Right-click a URL to choose Open in Default Browser or Open in Integrated Browser (VS Code's Simple Browser). Left-click still opens the default browser |
| Unicode support |
Full CJK character support with proper width calculation |
| Configurable |
Customize shell path, font size, font family, cursor style, cursor blink, and scrollback lines |
| WebView header |
Tab bar with shell names, shortcut buttons, plus Clear and Kill buttons for the active tab |
| Settings icon |
Quick access to terminal settings in the title bar |
| Default visibility |
Collapsed (expand when needed) |
| Focus indicator |
Shows a border around the view when focused |
Quick access to settings and documentation.
| Feature |
Description |
| Settings |
Open user or global settings |
| Templates |
Customize templates per workspace, or globally for every workspace |
| Sections |
Global and Workspace are expanded by default, so their items are visible as soon as the view is opened. Usage Guide starts collapsed |
Typical Claude Code Workflow
1. Create a Task
- Click the ⚡ Quick Start button at the top of Plans view to create a new task directory
- A timestamped QUICK_START.md file opens in the Editor view
- Write your task description or requirements
2. Execute with Claude Code
- Press
Cmd+R / Ctrl+R to run the task with Claude Code
- The Terminal view automatically activates and sends the command
- Claude Code starts processing your request
3. Monitor Progress
- Watch Claude Code's output in the Terminal view
- Tab name shows process status with icons (▶️, 📝, 📑)
- Scroll position is preserved when switching views
4. Review Results
- Claude Code creates implementation plans or spec documents
- Files appear automatically in Plans view
- Click files to review in Editor view
- Terminal tab maintains association with your task file
5. Iterate
- Switch between terminal tabs to work on multiple tasks
- Each tab remembers its associated file and context
- Plans/Editor views auto-sync when you switch tabs
Usage
Keyboard Shortcuts
| Shortcut |
Action |
Cmd+Shift+A (macOS)
Ctrl+Shift+A (Windows/Linux) |
Focus AI Coding Panel |
Cmd+S (macOS)
Ctrl+S (Windows/Linux) |
New Task (when panel is focused) |
Cmd+M (macOS)
Ctrl+M (Windows/Linux) |
Create new Markdown file (when panel is focused) |
Cmd+R (macOS)
Ctrl+R (Windows/Linux) |
Run task in Editor (auto-saves and sends command to terminal). Also available while the Terminal view is focused |
Basic actions
- Click the "AI Coding Panel" icon in the activity bar (or press
Cmd+Shift+A / Ctrl+Shift+A).
- Click the ⚡ Quick Start button at the top of Plans to create a new task directory with a QUICK_START.md file.
- Write your task description or requirements in the Editor view.
- Press
Cmd+R / Ctrl+R to execute the task with Claude Code.
- Monitor Claude Code's progress in the Terminal view.
- Review the results in Plans and Editor views as Claude Code creates files.
Template Feature
When you create a file from Plans, you can automatically populate it with a template. This keeps Markdown files used for AI coding consistent and saves time.
- Click the gear icon in the Plans pane.
- Choose "Workspace Settings" -> "Customize template."
- Template files are created in
.vscode/ai-coding-panel/templates/:
task.md - Template for Start Task
spec.md - Template for New Spec
prompt.md - Template for New File (PROMPT.md)
quick_start.md - Template for Quick Start
- Edit the templates and save them.
Default template
Each template ends with a shared metadata section:
# task
---
# metadata
dir : {{dirpath}}
prompt : {{filename}}
datetime: {{datetime}}
Available variables
Use the following variables inside a template:
{{datetime}}: Creation date and time (for example, 2026/09/06 21:46:07)
{{filename}}: Filename including extension (for example, 2025_1229_1430_25_PROMPT.md)
{{timestamp}}: Timestamp (for example, 2025_1229_1430_25)
{{filepath}}: File path relative to workspace root (for example, .claude/plans/2025_1229_1430_25_PROMPT.md)
{{dirpath}}: Directory path relative to workspace root (for example, .claude/plans)
Global templates
Templates can also be shared across every workspace. Run Customize Editor Templates from the Global section of the Menu view to create the same four files under the global directory, and edit them there. The global directory is then opened in a new VS Code window, because a path outside the workspace cannot be shown in the VS Code explorer of the current window. The window opens on the root, so templates and prompts are both there.
The global directory is the global storage directory of this extension. Set aiCodingSidebar.globalTemplatesPath in your User settings to place it somewhere else, such as a dotfiles repository. It must contain a templates sub directory for the file templates and a prompts sub directory for the prompt templates:
<globalTemplatesPath>
|-- templates/ task.md, spec.md, prompt.md, quick_start.md
`-- prompts/ prompt templates inserted from the Editor view
Bundled prompt templates
The extension bundles these snippets for the Prompts button in the Editor view:
| File |
What it asks for |
add_test.md |
Tests covering the normal path, boundary values, and error handling |
output_status.md |
The current status, written as a timestamped Markdown file under the directory in dir |
refactor.md |
A refactor that keeps the behavior unchanged |
review.md |
A review that reports bugs and missing error handling first |
They are listed only while neither the workspace nor the global directory holds a Markdown file. Customize Prompt Templates in the Workspace section and the item with the same name in the Global section copy them and never overwrite an existing file, so run one of them again after an update to pick up a snippet that was added to the bundle.
Template priority
- Workspace templates in
.vscode/ai-coding-panel/templates/ (if present)
- Global templates in
<globalTemplatesPath>/templates/ (if present)
- Built-in extension templates
Steps 1 and 2 can be turned off individually with editor.disableWorkspaceEditorTemplates and editor.disableGlobalEditorTemplates, which makes the next step take over. Step 3 is always kept, so file creation never breaks. The same applies to the prompt templates through editor.disableWorkspacePromptTemplates and editor.disableGlobalPromptTemplates; when both are off, the bundled snippets are listed. These settings only affect what is read - Customize Editor Templates, Customize Prompt Templates, and the Add template item still create files in the directory you pick.
Template examples
- Capture prompts for AI assistants in the
overview section.
- Track to-dos in the
tasks section.
- Add project-specific sections.
File Operations
| Feature |
Description |
| Create files or folders |
Quickly scaffold new files and folders. |
| Rename |
Rename files and folders. After renaming a directory, automatically navigates to the renamed directory. |
| Delete |
Delete files and folders (moved to trash). |
| Copy / Cut / Paste |
Perform standard clipboard operations. |
| Drag & Drop |
Copy files by dragging them within the Plans view or from external sources. Hold Shift while dragging in from outside the view: VS Code disables pointer events on webview-based views during a drag unless Shift is held. Drop onto a directory row to copy into that directory, or anywhere else in the view to copy into the directory currently shown. Displays a success message after copying. |
| Archive |
Archive task directories and individual files to keep your workspace organized. Click the archive icon (inline button) on a directory or file row, or right-click and select "Archive" to move it to the archived folder. When inside a non-root directory, an archive button also appears in the path display header - clicking it archives the current directory and returns to root. Archiving the file currently open in Editor view clears the editor. If an entry with the same name already exists, a timestamp is automatically added to avoid conflicts (appended to a directory name, inserted before the extension for a file). |
| Checkout Branch |
Right-click a directory to checkout a git branch using the directory name. Creates the branch if it doesn't exist, or switches to it if it already exists. |
| Insert Path to Editor |
Insert relative path into the Editor view. Click the edit icon on file rows, or right-click and select "Insert Path to Editor". Supports multiple selection. |
| Insert Path to Terminal |
Insert relative path into the Terminal view. Click the terminal icon on file rows, or right-click and select "Insert Path to Terminal". Supports multiple selection. Paths are separated by spaces. |
Other Features
Create Files and Folders
| Item |
Steps |
| Quick Start |
Click the ⚡ Quick Start button at the top of Plans View. Creates a timestamp-named directory (YYYY_MMDD_HHMM_SS) without asking for a folder name, and generates a QUICK_START.md file inside it. The file opens in Editor View and is selected in Plans. If a directory with the same name already exists, a numeric suffix (_2, _3, ...) is appended. If the Plans directory does not exist yet (the view shows Create directory: ...), it is created first, just as clicking Create directory would, and the Quick Start directory is then created inside it. |
| New Task |
Press Cmd+S / Ctrl+S while the panel is focused. Creates a new directory under the currently opened directory in Plans View and automatically generates a timestamped Markdown file. The file is selected in Plans with "editing" label and opens in Editor View. If the current path cannot be retrieved, it falls back to the default path. |
| New Directory |
Click the folder icon in the path display row. Creates a new directory under the currently opened directory (without creating a Markdown file). |
| Create PROMPT.md |
Click the Next button in Editor View, the file icon in the path display row, or press Cmd+M / Ctrl+M. A timestamped Markdown file is created (for example, 2025_1229_1430_25_PROMPT.md) and opens in Editor View with the caret placed at the top of the file. |
| Create TASK.md |
Click the TASK.md icon in the path display row. A timestamped TASK.md file is created and opens in Editor View. |
| Create SPEC.md |
Click the SPEC.md icon in the path display row. A timestamped SPEC.md file is created and opens in Editor View. |
| Method |
Steps |
| Plans settings (recommended) |
1. Click the gear icon in Plans. 2. The settings view opens with aiCodingSidebar.plans.defaultRelativePath pre-filtered. 3. Edit the default relative path (for example, src, .claude/plans, docs/api). |
| Workspace settings |
1. Click the gear icon in Plans. 2. Select "Workspace Settings." 3. Choose one of the following: - Create/Edit settings.json: Generate or edit the workspace settings file. - Configure .claude folder: Create a .claude/plans folder and apply settings. - Customize template: Edit the template used when creating files. |
| Inline from the extension |
1. Click the edit icon in Plans. 2. Enter a relative path (for example, src, .claude/plans, docs/api). 3. Choose whether to save it to settings. |
Relative path examples
src -> <project>/src
docs/api -> <project>/docs/api
.claude/plans -> <project>/.claude/plans
- empty string -> workspace root
If the default relative path doesn't exist, Plans displays a "Create directory" button. Click it to automatically create the directory and display its contents.
Other
| Feature |
Description |
| Copy relative path |
Copy the workspace-relative path to the clipboard. |
| Plans settings |
Open the settings view from Plans to edit the default relative path directly. |
| Search |
Search files across the workspace. |
Settings
| Setting |
Description |
Type |
Default |
Options / Examples |
plans.defaultRelativePath |
Default relative path for Plans |
string |
".claude/plans" |
"src", .claude/plans, "docs/api" |
plans.sortBy |
Sort files and directories in Plans by |
string |
"created" |
"name" (file name)
"created" (creation date)
"modified" (modified date) |
plans.sortOrder |
Sort order for files and directories in Plans |
string |
"ascending" |
"ascending" (ascending)
"descending" (descending) |
editor.commandPrefix |
Command prefix substituted for ${commandPrefix} in the command templates below |
string |
"claude" |
"claude", "claude --permission-mode auto", "claude --model opus" |
editor.runCommand |
Command template to execute when clicking the Run button in the Editor view |
string |
claude "${editorContent}" |
Use ${editorContent} as placeholder for the editor content, ${filePath} for the file path. Wrap the placeholder in double quotes so that the value is passed as a single argument. |
editor.runCommandWithoutFile |
Command template to execute when clicking the Run button without a file open |
string |
claude "${editorContent}" |
Use ${editorContent} as placeholder for the editor content. Wrap the placeholder in double quotes so that the value is passed as a single argument. |
editor.runPlanCommand |
Command template to execute when clicking the Plan button |
string |
claude --permission-mode plan "Review the file at ${filePath} and create an implementation plan. Save it as a timestamped file (format: YYYY_MMDD_HHMM_SS_plan.md) in the same directory as ${filePath}." |
Use ${filePath} as placeholder for the file path. Wrap the placeholder in double quotes so that the value is passed as a single argument. |
editor.runSpecCommand |
Command template to execute when clicking the Spec button |
string |
claude --permission-mode plan "Review the file at ${filePath} and create specification documents. Save them as timestamped files (format: YYYY_MMDD_HHMM_SS_requirements.md, YYYY_MMDD_HHMM_SS_design.md, YYYY_MMDD_HHMM_SS_plans.md) in the same directory as ${filePath}." |
Use ${filePath} as placeholder for the file path. Wrap the placeholder in double quotes so that the value is passed as a single argument. |
editor.recordSendTimestamp |
Append the send date and time to the open file when Spec / Plan / Run is pressed |
boolean |
true |
The history is added to a ## sent history section at the end of the file |
editor.recordResumeCommand |
Start Spec / Plan / Run with a generated session ID and record the matching claude --resume <session-id> command |
boolean |
true |
Recorded in metadata.md next to the open file, and also in the sent history when editor.recordSendTimestamp is on. Skipped while Claude Code is already running, and when editor.commandPrefix is not claude or already specifies a session |
editor.quickRun |
Send the editor content as is, without appending the output md instruction that Run adds by default |
boolean |
false |
The instruction is appended only when a file is open and editor.runCommand uses ${editorContent}. The open file is not modified |
editor.outputMdPrompt |
Instruction sent to the running Claude Code session by the output md button |
string |
"Record the current status of this task as a Markdown file. Save it as a timestamped file (format: YYYY_MMDD_HHMM_SS_status.md) in ${dirPath}. ..." |
${filePath} (open file) and ${dirPath} (its directory), relative to the workspace root. Sent as typed text without shell quoting. Keep it on a single line |
editor.outputMemoryPrompt |
Instruction sent to the running Claude Code session by the output memory button |
string |
"Record the reusable knowledge from this session as a Markdown file. Save it as a timestamped file (format: YYYY_MMDD_HHMM_SS_memory.md) in ${dirPath}. ..." |
Same placeholders and rules as editor.outputMdPrompt |
editor.promptTemplatesPath |
Directory that holds the prompt templates inserted from the Editor view (relative to the workspace root) |
string |
".vscode/ai-coding-panel/prompts" |
Each .md file directly under it becomes one template. When it holds no Markdown file, the templates bundled with the extension are used |
editor.disableWorkspaceEditorTemplates |
Do not load the file templates in the workspace |
boolean |
false |
The global templates, and then the bundled ones, are used instead |
editor.disableGlobalEditorTemplates |
Do not load the file templates in the global directory |
boolean |
false |
The bundled templates are always kept as the last fallback, so file creation never breaks |
editor.disableWorkspacePromptTemplates |
Do not list the prompt templates in the workspace |
boolean |
false |
A global template hidden by a workspace one with the same name becomes visible |
editor.disableGlobalPromptTemplates |
Do not list the prompt templates in the global directory |
boolean |
false |
When both sources are disabled, the bundled snippets are listed |
globalTemplatesPath |
Directory that holds the templates shared across every workspace (with templates and prompts sub directories). When empty, the global storage directory of this extension is used. A relative path is resolved from the home directory, and ~ is expanded. Set this in your User settings |
string |
"" |
"~/ai-coding-guide/ai-coding-panel" keeps the templates in a dotfiles repository |
browser.defaultUrl |
URL opened by the Open Integrated Browser action in the Menu view |
string |
"about:blank" |
"about:blank" opens an empty tab; set a URL such as "http://localhost:3000" to always open it |
terminal.shell |
Shell executable path for Terminal view |
string |
"" |
Leave empty to use system default shell |
terminal.fontSize |
Font size for Terminal view |
number |
12 |
Any positive number |
terminal.fontFamily |
Font family for Terminal view |
string |
"monospace" |
Any valid font family |
terminal.cursorStyle |
Cursor style for Terminal view |
string |
"block" |
"block", "underline", "bar" |
terminal.cursorBlink |
Enable cursor blinking in Terminal view |
boolean |
true |
true or false |
terminal.scrollback |
Number of scrollback lines in Terminal view |
number |
1000 |
Any positive number |
Example configuration
Add the following to .vscode/settings.json:
{
"aiCodingSidebar.plans.defaultRelativePath": ".claude/plans",
"aiCodingSidebar.plans.sortBy": "created",
"aiCodingSidebar.plans.sortOrder": "ascending",
"aiCodingSidebar.editor.commandPrefix": "claude",
"aiCodingSidebar.editor.runCommand": "${commandPrefix} \"${editorContent}\"",
"aiCodingSidebar.editor.runCommandWithoutFile": "${commandPrefix} \"${editorContent}\"",
"aiCodingSidebar.editor.runPlanCommand": "${commandPrefix} \"Review the file at ${filePath} and create an implementation plan. Save it as a timestamped file (format: YYYY_MMDD_HHMM_SS_plan.md) in the same directory as ${filePath}.\"",
"aiCodingSidebar.editor.runSpecCommand": "${commandPrefix} \"Review the file at ${filePath} and create specification documents. Save them as timestamped files (format: YYYY_MMDD_HHMM_SS_requirements.md, YYYY_MMDD_HHMM_SS_design.md, YYYY_MMDD_HHMM_SS_tasks.md) in the same directory as ${filePath}.\"",
"aiCodingSidebar.terminal.fontSize": 12,
"aiCodingSidebar.terminal.cursorStyle": "block"
}
Development & Build
# Install dependencies
npm install
# Compile TypeScript
npm run compile
# Recompile automatically during development
npm run watch
Debugging
Prepare
- Install dependencies:
npm install
- Compile TypeScript:
npm run compile
Start debugging
From the Command Palette (recommended)
- Press
Ctrl+Shift+P (Windows/Linux) or Cmd+Shift+P (Mac) to open the Command Palette.
- Type and select "Debug: Start Debugging."
- Press Enter to launch.
Other ways to launch
- F5: Start debugging immediately.
- Run and Debug view: Open the Run and Debug icon in the sidebar, choose "Run Extension," then click the green play button.
- Menu bar: Select "Run" -> "Start Debugging."
While debugging
- A new VS Code window (Extension Development Host) opens.
- The activity bar now shows the "AI Coding Panel" icon.
- Set breakpoints, inspect variables, and step through code.
- Press
Ctrl+R / Cmd+R to reload the extension.
Installation
Quick Start with Claude Code
- Install this extension from the VS Marketplace
- Install Claude Code CLI
- Press
Cmd+Shift+A / Ctrl+Shift+A to open AI Coding Panel
- Create a task from Plans view (click the rocket icon 🚀)
- Press
Cmd+R / Ctrl+R to start Claude Code
Method 1: Development mode (for testing)
- Clone or download this repository.
- Open it in VS Code.
- Press
F5 to launch an Extension Development Host window.
- Test the extension in the new VS Code instance.
Method 2: Install from a VSIX package
Recommended: Use the latest release from GitHub
- Download the latest VSIX file from the GitHub Releases page.
- Install via command line:
code --install-extension ai-coding-sidebar-1.2.19.vsix
- Restart VS Code.
Use a local build
# Install directly from the releases directory
code --install-extension releases/ai-coding-sidebar-1.2.19.vsix
Build the package yourself
- Install the VSCE tool:
npm install -g @vscode/vsce
- Create a VSIX package:
npm run package
- Install the generated VSIX file:
code --install-extension releases/ai-coding-sidebar-1.2.19.vsix
- Restart VS Code.
Automated Build & Release
This project uses GitHub Actions to build and release the extension.
How the automated build works
- Trigger: Push to the
master branch.
- Build steps:
- Compile TypeScript.
- Create the VSIX package automatically.
- Upload the package to GitHub Releases.
- Update the
releases/ directory in the repository.
Versioning
Release tags are created based on the version field in package.json.
# Bump versions
npm run version:patch # 0.0.1 -> 0.0.2
npm run version:minor # 0.0.1 -> 0.1.0
npm run version:major # 0.0.1 -> 1.0.0
Uninstall
Via command line
code --uninstall-extension ai-coding-sidebar
Inside VS Code
- Open the Extensions view (
Ctrl+Shift+X / Cmd+Shift+X).
- Search for "AI Coding Panel."
- Click "Uninstall."
Requirements
- VS Code 1.74.0 or later
- Node.js (development only)
Compatibility Note
While this extension is optimized for Claude Code, it also works with other AI coding assistants like Cursor and GitHub Copilot. However, some features (like Claude Code auto-detection and context-aware shortcuts) are specifically designed for Claude Code and may not function with other tools.
| |