A sidebar extension that strengthens integration with AI coding tools.
Browse and manage files and folders efficiently to keep coding with AI smooth.
Features
| Feature |
Description |
| Explorer |
Display the entire project as a tree view. |
| Directory List |
Display directories under a specified path. Configure a default path in settings. Create new directories. |
| Markdown List |
Display Markdown files and create new ones. |
| File Changes |
List modified files and review diffs. |
| Settings |
Open user or global settings. Customize templates. |
Usage
Basic actions
- Click the "AI Coding Sidebar" icon in the activity bar.
- Use Directory List to create the folder you use for AI coding.
- Create Markdown files from Markdown List.
- Write instructions for the AI in the Markdown file.
- Right-click the Markdown file in Markdown List and choose "Copy Relative Path," then share it with your AI tool.
Template Feature
When you create a file from Markdown List, 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 Directory List pane.
- Choose "Workspace Settings" → "Customize template."
.vscode/templates/file.md is created.
- Edit the template and save it.
Default template
The first template contains the following:
created: {{datetime}}
file: {{filename}}
---
## overview
## tasks
Available variables
Use the following variables inside a template:
{{datetime}}: Creation date and time (for example, 2025/11/3 12:27:13)
{{filename}}: Filename including extension (for example, 2025_1103_1227.md)
{{timestamp}}: Timestamp (for example, 2025_1103_1227)
Template priority
- Workspace template
.vscode/templates/file.md (if present)
- Built-in extension template
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. |
| Delete |
Delete files and folders (moved to trash). |
| Copy / Cut / Paste |
Perform standard clipboard operations. |
| Drag & Drop |
Move files or folders by dragging them. |
Other Features
Create Files and Folders
| Item |
Steps |
| Create a folder |
Click the folder icon in Directory List or Explorer. Enter a folder name to create it. |
| Create a file |
Click the "+" icon in Markdown List. A timestamped Markdown file is created (for example, 2025_1103_1227.md). |
| Method |
Steps |
| Directory List settings (recommended) |
1. Click the gear icon (⚙️) in Directory List. 2. The settings view opens with aiCodingSidebar.defaultRelativePath pre-filtered. 3. Edit the default relative path (for example, src, .claude, docs/api). |
| Workspace settings |
1. Click the gear icon (⚙️) in Directory List. 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 folder and apply settings. - Customize template: Edit the template used when creating files. |
| Inline from the extension |
1. Click the edit icon (✏️) in Directory List. 2. Enter a relative path (for example, src, .claude, docs/api). 3. Choose whether to save it to settings. |
Relative path examples
src → <project>/src
docs/api → <project>/docs/api
.claude → <project>/.claude
- empty string → workspace root
Other
| Feature |
Description |
| Copy relative path |
Copy the workspace-relative path to the clipboard. |
| Directory List settings |
Open the settings view from Directory List to edit the default relative path directly. |
| Search |
Search files across the workspace. |
Settings
| Setting |
Description |
Type |
Default |
Options / Examples |
defaultRelativePath |
Default relative path for Directory List |
string |
"" (workspace root) |
"src", .claude, "docs/api" |
sortBy |
File sort key |
string |
"name" |
"name" (name)
"type" (type)
"size" (size)
"modified" (modified time) |
sortOrder |
Sort order |
string |
"ascending" |
"ascending" (ascending)
"descending" (descending) |
showHidden |
Show hidden files and folders |
boolean |
false |
- |
showFileIcons |
Show file icons |
boolean |
true |
- |
autoRefresh |
Refresh automatically on filesystem changes |
boolean |
true |
- |
viewMode |
Display mode |
string |
"tree" |
"tree" (tree view)
"list" (list view) |
Example configuration
Add the following to .vscode/settings.json:
{
"aiCodingSidebar.defaultRelativePath": ".claude",
"aiCodingSidebar.sortBy": "modified",
"aiCodingSidebar.sortOrder": "descending",
"aiCodingSidebar.showHidden": false,
"aiCodingSidebar.showFileIcons": true,
"aiCodingSidebar.autoRefresh": true,
"aiCodingSidebar.viewMode": "tree"
}
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 ▶ 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 Sidebar" icon.
- Set breakpoints, inspect variables, and step through code.
- Press
Ctrl+R / Cmd+R to reload the extension.
Installation
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-0.0.1.vsix
- Restart VS Code.
Use a local build
# Install directly from the releases directory (version 0.0.1)
code --install-extension releases/ai-coding-sidebar-0.0.1.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-0.0.1.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 Sidebar."
- Click "Uninstall."
Requirements
- VS Code 1.74.0 or later
- Node.js (development only)