A desktop application to easily manage and launch VS Code workspaces from a centralized interface.
Installation โข Features โข Usage โข Contributing
- Workspace Discovery: Automatically scans your development directories for
.code-workspacefiles - Quick Launch: Double-click to open workspaces in VS Code
- Search & Filter: Find workspaces quickly by name or path
- Favorites: Mark frequently used workspaces as favorites
- Recent Workspaces: Keep track of recently opened workspaces
- Desktop Integration: Install as a desktop application on Linux
- Configurable: Set custom scan directories and preferences
Main application window showing workspace list with search and favorites
Configuration dialog for scan directories and preferences
- Python 3.7+
- VS Code installed and accessible via
codecommand - Linux desktop environment (tested on Fedora, Ubuntu, etc.)
# Clone the repository
git clone https://github.com/Zajfan/vscode-project-launcher.git
cd vscode-project-launcher
# Run the setup script
./setup_launcher.sh
# Launch the application
./launch.sh# Install system dependencies (Fedora/RHEL)
sudo dnf install python3-tkinter
# Install Python dependencies
pip3 install --user -r requirements.txt
# Make scripts executable
chmod +x launch.sh cli.py src/install_desktop.py# Install desktop shortcut and menu entry
python3 src/install_desktop.py --desktop-shortcut
# System-wide installation (requires sudo)
sudo python3 src/install_desktop.py --system --desktop-shortcutLaunch the graphical interface:
./launch.sh# List all workspaces
./cli.py list
# Search for workspaces
./cli.py search "project name"
# Launch a workspace by index
./cli.py launch 1
# Launch a specific workspace file
./cli.py launch ~/path/to/workspace.code-workspace
# Show favorites and recent workspaces
./cli.py favorites
./cli.py recentCtrl+RorF5: Refresh workspace listCtrl+F: Focus search boxCtrl+OorEnter: Open selected workspaceCtrl+N: Open workspace in new windowEscape: Clear search
src/
โโโ main.py # Application entry point
โโโ gui/ # GUI components
โ โโโ __init__.py
โ โโโ main_window.py # Main application window
โ โโโ settings_dialog.py # Settings configuration
โ โโโ workspace_item.py # Workspace list item widget
โโโ core/ # Core functionality
โ โโโ __init__.py
โ โโโ workspace_scanner.py # Workspace file discovery
โ โโโ config_manager.py # Configuration management
โ โโโ launcher.py # VS Code launching logic
โโโ utils/ # Utility functions
โโโ __init__.py
โโโ file_utils.py # File system utilities
Contributions are welcome! Here's how you can help:
- Fork the repository
- Create a feature branch (
git checkout -b feature/amazing-feature) - Commit your changes (
git commit -m 'Add amazing feature') - Push to the branch (
git push origin feature/amazing-feature) - Open a Pull Request
# Clone your fork
git clone https://github.com/yourusername/vscode-project-launcher.git
cd vscode-project-launcher
# Create virtual environment (optional)
python3 -m venv venv
source venv/bin/activate
# Install dependencies
pip install -r requirements.txt
# Run the application
./launch.sh- ๐ Bug Reports: Found a bug? Please open an issue
- ๐ก Feature Requests: Have an idea? Let's discuss it
- ๐ Documentation: Help improve the docs
- ๐งช Testing: Add unit tests and integration tests
- ๐จ UI/UX: Improve the interface design
- ๐ Performance: Optimize scanning and launching
VS Code not found
# Install the 'code' command in VS Code
# Ctrl+Shift+P โ "Shell Command: Install 'code' command in PATH"Permission errors when scanning
# Check directory permissions
ls -la /path/to/directoryMissing tkinter
# Fedora/RHEL/CentOS
sudo dnf install python3-tkinter
# Ubuntu/Debian
sudo apt install python3-tkThis project is licensed under the MIT License - see the LICENSE file for details.
- VS Code team for creating an amazing editor
- Python tkinter community for GUI framework
- All contributors who help improve this project
If you found this project helpful, please consider:
- โญ Starring the repository
- ๐ Reporting bugs and issues
- ๐ก Suggesting new features
- ๐ค Contributing code or documentation
Made with โค๏ธ for the VS Code community