Programmer Assistant
A comprehensive VS Code extension that serves as your ultimate programming companion, providing intelligent tools to enhance your development workflow and help you visualize your code creation process.
✨ Features
🖥️ Enhanced Workspace Monitor
- Interactive File Tree: Browse your project structure with expandable directories
- Real-time Statistics: View workspace metrics including open files and unsaved changes
- File Information: See file sizes, languages, and modification status
- Quick File Opening: Click any file to open it directly in the editor
👁️ Code Preview Panel
- Live Code Preview: Visualize your code with syntax highlighting
- Code Execution: Run code snippets directly from the preview (with safety measures)
- Multi-language Support: Preview and interact with JavaScript, Python, and more
- Side-by-side Viewing: Work alongside your code with instant previews
🤖 Intelligent Auto-Complete
- Context-Aware Suggestions: Smart completions based on your coding patterns
- AI-Enhanced Patterns: Advanced suggestions for common programming constructs
- Multi-language Support: Enhanced completions for JavaScript, TypeScript, Python, and Java
- Real-time Linting: Continuous code quality analysis
- Dead Code Detection: Identify and remove unused code
- Automated Refactoring: Extract functions, rename symbols with ease
- Hover Information: Rich contextual help and documentation
📦 Dependency Management
- Auto-Installation: Automatically install dependencies at configurable intervals
- Multi-Package Manager Support: npm, pip, and more
- Smart Detection: Recognizes project types and installs appropriate dependencies
🐙 Git Integration
- Status Monitoring: Real-time Git status updates
- Smart Commit Suggestions: AI-powered commit message generation
- Branch Management: Easy staging, committing, and pushing
- Diff Visualization: Preview changes before committing
🚀 Getting Started
Installation
git clone <repository-url>
cd programmer-assistant
npm install
npm run compile
Launch Extension
- Open in VS Code
- Press
F5 to launch extension development host
- Or package and install the
.vsix file
📖 Usage Guide
Workspace Visualization
- Open Monitor:
Ctrl+Shift+P → "Programmer Assistant: Open Workspace Monitor"
- Navigate Structure: Click directories to expand/collapse
- Open Files: Click any file to open it instantly
- View Stats: Monitor your workspace health at a glance
Code Preview
- Open Preview:
Ctrl+Shift+P → "Programmer Assistant: Open Code Preview"
- Live Preview: See your code with syntax highlighting
- Execute Code: Test snippets directly in the preview panel
- Multi-file Support: Switch between files seamlessly
Development Workflow
- Auto-complete: Enhanced suggestions appear as you type
- Linting: Real-time error detection and fixes
- Refactoring: Extract functions with
Ctrl+Shift+P → "Extract Function"
- Git Operations: Stage, commit, and push with smart suggestions
⚙️ Configuration
Customize the extension behavior through VS Code settings:
{
"programmerAssistant.autoInstallInterval": 5,
"programmerAssistant.enableRealTimeAnalysis": true,
"programmerAssistant.enableLinting": true,
"programmerAssistant.enableGitIntegration": true,
"programmerAssistant.supportedLanguages": ["javascript", "typescript", "python", "java"]
}
🎯 Key Benefits
- Visual Development: See your code structure and changes in real-time
- Productivity Boost: Automate repetitive tasks and get intelligent suggestions
- Code Quality: Continuous analysis and improvement recommendations
- Learning Aid: Understand your codebase better with interactive visualizations
- Workflow Optimization: Streamlined development process from ideation to deployment
- Second-Hand Programming: Intuitive interface that guides you through coding decisions
🔍 Visualization Features
The extension excels at helping you visualize what you're creating:
- Live Workspace Tree: Always know what's in your project
- Code Preview: See your code rendered beautifully before saving
- Analytics Dashboard: Understand your project's health at a glance
- Real-time Feedback: Immediate visual feedback on code quality
- Interactive Elements: Click, expand, and explore your codebase visually
🛠️ Technical Details
- Built with TypeScript: Type-safe development
- VS Code API Integration: Native extension capabilities
- Webview UI: Modern, responsive interface
- Real-time Updates: Live synchronization with your workspace
- Extensible Architecture: Easy to add new features and languages
🤝 Contributing
We welcome contributions! The extension is designed to be modular and extensible. See our contribution guidelines for adding new languages, features, or visualizations.
Programmer Assistant: Your AI-powered coding companion that helps you see, understand, and improve your code like never before.
programmerAssistant.autoInstallInterval: Set the interval in minutes for automatic dependency installation (default: 5)
Development
This extension is built with TypeScript and uses VS Code's extension API. To contribute:
- Make changes to the source code in
src/
- Run
npm run compile to build
- Test in the extension development host (F5)
Requirements
- VS Code 1.74.0 or higher
- Node.js for npm dependencies
- Python for pip dependencies (optional)
License
MIT