mirror of
https://github.com/andrepimenta/claude-code-chat.git
synced 2025-12-08 18:39:44 +00:00
Init
This commit is contained in:
261
README.md
Normal file
261
README.md
Normal file
@@ -0,0 +1,261 @@
|
||||
# 🚀 Claude Code Chat - Beautiful Claude Code Chat Interface for VS Code
|
||||
|
||||
[](https://marketplace.visualstudio.com/items?itemName=your-extension-id)
|
||||
[](https://claude.ai/code)
|
||||
[](https://www.typescriptlang.org/)
|
||||
|
||||
> **No more terminal commands. Chat with Claude Code through a beautiful, intuitive interface right inside VS Code.**
|
||||
|
||||
Ditch the command line and experience Claude Code like never before. This extension brings a stunning chat interface directly into your editor, making AI assistance accessible, visual, and enjoyable.
|
||||
|
||||
🤖 **Built by Claude Code for Claude Code** - This extension was entirely developed using Claude Code itself. Claude Code created its own chat interface!
|
||||
|
||||
---
|
||||
|
||||
## ✨ **Why Choose Claude Code Chat?**
|
||||
|
||||
🖥️ **No Terminal Required** - Beautiful chat interface replaces command-line interactions
|
||||
⏪ **Restore Checkpoints** - Undo changes and restore code to any previous state
|
||||
💾 **Conversation History** - Automatic conversation history and session management
|
||||
⚡ **Instant Access** - Claude Code integrated directly into VS Code
|
||||
🎨 **VS Code Native** - Seamlessly matches your editor's theme and design
|
||||
📁 **Smart File Context** - Reference any file with simple @ mentions
|
||||
🛑 **Full Control** - Start, stop, and manage AI processes with ease
|
||||
|
||||
---
|
||||
|
||||
## 🌟 **Key Features**
|
||||
|
||||
### 💬 **Beautiful Chat Graphical Interface**
|
||||
- No terminal required - everything through the UI
|
||||
- Real-time streaming responses with typing indicators
|
||||
- One-click message copying with visual feedback
|
||||
- Rich markdown support for code blocks and formatting
|
||||
- Auto-resizing input that grows with your content
|
||||
|
||||
### ⏪ **Checkpoint & Session Management**
|
||||
- **Restore Checkpoints** - Instantly undo changes and restore to any previous state
|
||||
- Automatic Git-based backup system for safe experimentation
|
||||
- Browse and restore from any conversation checkpoint
|
||||
- Automatic conversation saving and restoration
|
||||
- Real-time cost and token tracking
|
||||
- Session statistics and performance metrics
|
||||
|
||||
### 📁 **Smart File Integration**
|
||||
- Type `@` to instantly search and reference workspace files
|
||||
- Image attachments via file browser
|
||||
- Lightning-fast file search across your entire project
|
||||
- Seamless context preservation for multi-file discussions
|
||||
|
||||
### 🛠️ **Tool Management**
|
||||
- Visual dashboard showing all available Claude Code tools
|
||||
- Real-time tool execution with formatted results
|
||||
- Process control - start, stop, and monitor operations
|
||||
|
||||
### 🎨 **VS Code Integration**
|
||||
- Native theming that matches your editor
|
||||
- Status bar integration with connection status
|
||||
- Activity bar panel for quick access
|
||||
- Responsive design for any screen size
|
||||
|
||||
---
|
||||
|
||||
## 🚀 **Getting Started**
|
||||
|
||||
### Prerequisites
|
||||
- **VS Code 1.80+** - Latest version recommended
|
||||
- **Claude Code CLI** - [Install from Anthropic](https://claude.ai/code)
|
||||
- **Active Claude API or subscription** - API or Pro/Max plan
|
||||
|
||||
### Installation
|
||||
|
||||
1. **Install from VS Code Marketplace**
|
||||
```
|
||||
ext install claude-code-chat
|
||||
```
|
||||
|
||||
2. **Or install manually**
|
||||
- Download the `.vsix` file from releases
|
||||
- Run `code --install-extension claude-code-chat-x.x.x.vsix`
|
||||
|
||||
3. **Open Claude Code Chat**
|
||||
- Press `Ctrl+Shift+C` (or `Cmd+Shift+C` on Mac)
|
||||
- Or click the Claude icon in your status bar
|
||||
- Or use Command Palette: `Claude Code: Open Chat`
|
||||
|
||||
---
|
||||
|
||||
## 💡 **Usage Examples**
|
||||
|
||||
### 🔥 **Code Review & Refactoring**
|
||||
```
|
||||
You: @src/components/UserProfile.tsx Can you review this component and suggest improvements?
|
||||
|
||||
Claude: I'll analyze your UserProfile component. Looking at the code, here are my recommendations:
|
||||
|
||||
1. **Performance Optimization**: Add React.memo() to prevent unnecessary re-renders
|
||||
2. **TypeScript Enhancement**: The props interface could be more specific
|
||||
3. **Accessibility**: Missing ARIA labels for screen readers
|
||||
|
||||
[Detailed analysis with code examples follows...]
|
||||
```
|
||||
|
||||
### 📊 **Project Analysis**
|
||||
```
|
||||
You: Analyze the overall architecture of my project and identify potential issues
|
||||
|
||||
Claude: I'll examine your project structure and identify areas for improvement:
|
||||
|
||||
🏗️ **Architecture Overview**
|
||||
- React frontend with TypeScript
|
||||
- Node.js backend with Express
|
||||
- MongoDB database layer
|
||||
|
||||
⚠️ **Identified Issues**
|
||||
- Missing error boundaries in React components
|
||||
- Database queries lack proper indexing
|
||||
- API routes missing input validation
|
||||
|
||||
[Detailed recommendations with implementation examples...]
|
||||
```
|
||||
|
||||
### 🐛 **Debugging Assistant**
|
||||
```
|
||||
You: I'm getting a strange error in my API. Here's the stack trace: [paste error]
|
||||
|
||||
Claude: Looking at this stack trace, the issue appears to be a race condition in your async middleware. Here's what's happening:
|
||||
|
||||
1. **Root Cause**: Multiple requests are modifying shared state
|
||||
2. **Solution**: Implement proper request isolation
|
||||
3. **Prevention**: Add comprehensive error handling
|
||||
|
||||
[Step-by-step debugging guide follows...]
|
||||
```
|
||||
|
||||
### ⏪ **Safe Experimentation with Checkpoints**
|
||||
```
|
||||
You: Can you refactor this entire component to use hooks instead of class components?
|
||||
|
||||
Claude: I'll refactor your component to use React hooks. Don't worry - I'll create a checkpoint first so you can easily restore if needed.
|
||||
|
||||
[Creates automatic checkpoint]
|
||||
|
||||
Here's the refactored component using hooks:
|
||||
[Shows the new implementation]
|
||||
|
||||
If you want to revert these changes, just click "Restore Checkpoint" to go back to your original code instantly.
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## ⚙️ **Configuration**
|
||||
|
||||
### Keyboard Shortcuts
|
||||
| Shortcut | Action |
|
||||
|----------|--------|
|
||||
| `Ctrl+Shift+C` | Open Claude Code Chat |
|
||||
| `Ctrl+Enter` | Send message |
|
||||
| `@` | Open file picker |
|
||||
|
||||
---
|
||||
|
||||
## 🎯 **Pro Tips & Tricks**
|
||||
|
||||
### 🔥 **File Context Magic**
|
||||
- Type `@` followed by your search term to quickly reference files
|
||||
- Use `@src/` to narrow down to specific directories
|
||||
- Reference multiple files in one message for cross-file analysis
|
||||
|
||||
### ⚡ **Productivity Boosters**
|
||||
- **Creates checkpoints automatically** before changes for safe experimentation
|
||||
- **Restore instantly** if changes don't work out as expected
|
||||
- Use the stop button to cancel long-running operations
|
||||
- Copy message contents to reuse Claude's responses
|
||||
- Open history panel to reference previous conversations
|
||||
|
||||
### 🎨 **Interface Customization**
|
||||
- The UI automatically adapts to your VS Code theme
|
||||
- Messages are color-coded: Green for you, Blue for Claude
|
||||
- Hover over messages to reveal the copy button
|
||||
|
||||
---
|
||||
|
||||
## 🔧 **Advanced Features**
|
||||
|
||||
### 🛠️ **Tool Integration**
|
||||
Claude Code Chat provides full access to all Claude Code tools:
|
||||
- **Bash** - Execute shell commands
|
||||
- **File Operations** - Read, write, and edit files
|
||||
- **Search** - Grep and glob pattern matching
|
||||
- **Web** - Fetch and search web content
|
||||
- **Multi-edit** - Batch file modifications
|
||||
- **While in Beta, all tools are enabled by default, use at your own risk!**
|
||||
|
||||
### 📊 **Analytics & Monitoring**
|
||||
- **Real-time cost tracking** - Monitor your API usage
|
||||
- **Token consumption** - See input/output token counts
|
||||
- **Response timing** - Track performance metrics
|
||||
- **Session statistics** - Comprehensive usage analytics
|
||||
|
||||
### ⏪ **Checkpoint System**
|
||||
- **Git-based backups** - Automatic repository creation for safe experimentation
|
||||
- **Instant restoration** - One-click restore to any previous state
|
||||
- **Conversation checkpoints** - Every major change creates a restore point
|
||||
- **Visual timeline** - See and navigate through all your project states
|
||||
|
||||
### 🔄 **Session Persistence**
|
||||
- **Automatic saving** - Every conversation is preserved
|
||||
- **Smart restoration** - Resume exactly where you left off
|
||||
- **Cross-session context** - Reference previous conversations
|
||||
- **Export capability** - Save conversations for later reference
|
||||
|
||||
---
|
||||
|
||||
## 🤝 **Contributing**
|
||||
|
||||
We welcome contributions! Here's how you can help:
|
||||
|
||||
1. **🐛 Report Bugs** - Use our issue tracker
|
||||
2. **💡 Suggest Features** - Share your ideas
|
||||
3. **🔧 Submit PRs** - Help us improve the codebase
|
||||
4. **📚 Improve Docs** - Make the documentation better
|
||||
|
||||
### Development Setup
|
||||
```bash
|
||||
git clone https://github.com/your-repo/claude-code-chat
|
||||
cd claude-code-chat
|
||||
npm install
|
||||
npm run dev
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
## 📝 **License**
|
||||
|
||||
This project is licensed under the MIT License - see the [LICENSE](LICENSE) file for details.
|
||||
|
||||
---
|
||||
|
||||
## 🙏 **Acknowledgments**
|
||||
|
||||
- **Anthropic** - For creating the amazing Claude AI
|
||||
- **VS Code Team** - For the incredible extension platform
|
||||
- **Our Community** - For feedback, suggestions, and contributions
|
||||
|
||||
---
|
||||
|
||||
## 📞 **Support**
|
||||
|
||||
Need help? We've got you covered:
|
||||
|
||||
- 🐛 **Issues**: [GitHub Issues](https://github.com/your-repo/claude-code-chat/issues)
|
||||
|
||||
---
|
||||
|
||||
<div align="center">
|
||||
|
||||
**⭐ Star us on GitHub if this project helped you!**
|
||||
|
||||
[**Download Now**](https://marketplace.visualstudio.com/items?itemName=your-extension-id)
|
||||
|
||||
</div>
|
||||
Reference in New Issue
Block a user