Skip to content
Open

Dif 1 #277581

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions .env.example
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
VITE_GEMINI_API_KEY=your_api_key_here
32 changes: 7 additions & 25 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,25 +1,7 @@
.DS_Store
.cache
npm-debug.log
Thumbs.db
node_modules/
.build/
.vscode/extensions/**/out/
extensions/**/dist/
/out*/
/extensions/**/out/
build/node_modules
coverage/
test_data/
test-results/
test-results.xml
vscode.lsif
vscode.db
/.profile-oss
/cli/target
/cli/openssl
product.overrides.json
*.snap.actual
*.tsbuildinfo
.vscode-test
vscode-telemetry-docs/
node_modules
dist
dist-ssr
*.local
.env
**/tempobook/dynamic/
**/tempobook/storyboards/
7 changes: 7 additions & 0 deletions extensions/ai-coding-agent/.vscodeignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
.vscode/**
.vscode-test/**
src/**
.gitignore
tsconfig.json
**/*.map
**/*.ts
62 changes: 62 additions & 0 deletions extensions/ai-coding-agent/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# AI Coding Agent

An AI-powered coding assistant for VSCode using Google's Gemini 2.5 Flash model.

## Features

- **Explain Code**: Get detailed explanations of selected code
- **Generate Code**: Generate code from natural language descriptions
- **Fix Code**: Automatically fix bugs and issues in your code
- **Refactor Code**: Improve code quality and maintainability
- **Add Comments**: Automatically add comprehensive comments to your code
- **AI Chat**: Interactive chat interface for coding assistance

## Usage

### Commands

- `Ctrl+Shift+A` (Mac: `Cmd+Shift+A`): Open AI Chat
- `Ctrl+Shift+E` (Mac: `Cmd+Shift+E`): Explain selected code

### Context Menu

Right-click on selected code to access AI features:
- Explain Selected Code
- Fix Code Issues
- Refactor Code
- Add Comments

### Chat View

Click the AI icon in the activity bar to open the chat interface where you can ask questions about your code.

## Requirements

- GEMINI_API_KEY environment variable must be set with your Google AI API key
- Get your API key from: https://makersuite.google.com/app/apikey

## Extension Settings

This extension contributes the following settings:

* None currently - uses environment variable for API key

## Known Issues

None currently

## Release Notes

### 1.0.0

Initial release with core AI coding features:
- Code explanation
- Code generation
- Code fixing
- Code refactoring
- Comment generation
- Interactive chat

---

**Enjoy coding with AI assistance!**
223 changes: 223 additions & 0 deletions extensions/ai-coding-agent/out/extension.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions extensions/ai-coding-agent/out/extension.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading