|
| 1 | +# Python-VS Code Bridge - Demo Workspace |
| 2 | + |
| 3 | +Welcome! The Python-VS Code Bridge extension is now running and ready for demonstration. |
| 4 | + |
| 5 | +## 🎯 Quick Demo |
| 6 | + |
| 7 | +**Open VS Code Terminal:** Press `Ctrl+`` (or `Cmd+`` on Mac) → then run: |
| 8 | + |
| 9 | +```bash |
| 10 | +python demo.py |
| 11 | +``` |
| 12 | + |
| 13 | +This interactive demo will guide you through all bridge capabilities! |
| 14 | + |
| 15 | +## 📂 Files Available for Testing |
| 16 | + |
| 17 | +- **`demo.py`** - Interactive guided demonstration |
| 18 | +- **`test-file.txt`** - Sample text file for manipulation |
| 19 | +- **`sample.js`** - JavaScript file with errors/warnings/TODOs |
| 20 | +- **`sample.py`** - Python file with sample content |
| 21 | +- **`examples/`** - Individual example scripts |
| 22 | +- **`python_client/`** - Bridge library (already installed) |
| 23 | + |
| 24 | +## 🧪 Individual Examples |
| 25 | + |
| 26 | +```bash |
| 27 | +# Send a notification to VS Code |
| 28 | +python examples/basic_notify.py |
| 29 | + |
| 30 | +# See what files you have open |
| 31 | +python examples/editor_info.py |
| 32 | + |
| 33 | +# Transform text in the active editor |
| 34 | +python examples/text_replacement.py |
| 35 | + |
| 36 | +# Analyze all open files for errors/warnings/TODOs |
| 37 | +python examples/automated_workflow.py |
| 38 | +``` |
| 39 | + |
| 40 | +## 💡 Tips for Best Experience |
| 41 | + |
| 42 | +1. **Open multiple files** - The bridge can detect and work with all open editors |
| 43 | +2. **Try the automated workflow** after opening several files to see analysis |
| 44 | +3. **Switch between files** - Make different files active to see text modification work |
| 45 | +4. **Watch for notifications** - Python will send real-time updates to VS Code |
| 46 | + |
| 47 | +## 🎯 What You'll See |
| 48 | + |
| 49 | +- ✅ **Real-time notifications** from Python appearing in VS Code |
| 50 | +- ✅ **File content analysis** and statistics |
| 51 | +- ✅ **Text modifications** happening live in your editors |
| 52 | +- ✅ **Bidirectional communication** between Python and VS Code |
| 53 | + |
| 54 | +**The bridge is live and ready to use!** 🚀 |
0 commit comments