PayPilot - AI Coding Assistant for VS Code
PayPilot is your intelligent coding companion that brings powerful AI capabilities directly into Visual Studio Code. Get instant code suggestions, automated refactoring, and expert guidance for PayPal payment integration - all through an intuitive chat interface.
✨ Key Features
🤖 AI-Powered Chat Assistant
- Interactive sidebar chat with multiple AI models (Claude, GPT-4, and more)
- Context-aware responses based on your active code
- Natural language code generation and explanation
⚡ Instant Code Modifications
- Apply AI-generated code changes directly to your files
- Visual diff preview before accepting changes
- Smart file operations (create, update, delete)
- Directory management tools
💳 PayPal Integration Expertise
- Specialized knowledge for PayPal API integration
- Payment flow implementation guidance
- Best practices and security recommendations
- Code examples and documentation lookup
🔄 Two Working Modes
Ask Mode - Get answers and code suggestions
- Quick responses to coding questions
- Code explanations and debugging help
- Documentation and best practices
Agent Mode - Automated code modifications
- Let AI make direct changes to your workspace
- Review and approve changes with built-in diff viewer
- Undo/redo support for all modifications
🚀 Getting Started
- Install PayPilot from the VS Code marketplace
- Open the PayPilot sidebar (click the credit card icon in the Activity Bar)
- Chat with AI to get coding help or request code changes
- Review suggested changes in the diff viewer
- Apply changes you want to keep
💬 How to Use
Ask a Question
"How do I implement PayPal checkout in React?"
"Explain this function"
"What's wrong with my API call?"
Request Code Changes
"Create a payment processing function"
"Add error handling to this API call"
"Refactor this component to use async/await"
File Operations
"Create a new PayPal service class"
"Update the payment configuration"
"Add payment types to my TypeScript file"
🎯 Perfect For
- Payment Integration - Building apps with PayPal payments
- Code Generation - Quickly scaffold components and functions
- Refactoring - Modernize and improve existing code
- Learning - Understand code patterns and best practices
- Debugging - Get help identifying and fixing issues
⚙️ Requirements
- VS Code version 1.103.0 or higher
- Internet connection for AI model access
🔧 Configuration
Customize PayPilot in VS Code Settings:
paypilot.maxContextChars - Maximum characters of code context (default: 12000)
📝 Commands
PayPilot: Open Chat - Open the chat sidebar
PayPilot: View Diff - Show changes preview
PayPilot: Accept All Changes - Apply all suggested changes
PayPilot: Reject All Changes - Discard all suggestions
🛡️ Privacy & Security
- Your code context is only sent when you explicitly ask questions
- All AI processing happens through secure connections
- No code is stored or logged permanently
🐛 Issues & Feedback
Found a bug or have a suggestion? Visit our GitHub repository
�💻 For Developers
Interested in contributing or understanding the technical architecture? Check out our Development Guide for detailed information about the extension's internal workings.
�📄 License
MIT License - See LICENSE file for details
Made with ❤️ by the PayPilot Team