Skip to content

Latest commit

 

History

History
87 lines (60 loc) · 2.3 KB

File metadata and controls

87 lines (60 loc) · 2.3 KB

Device Manager for Zed

Manage mobile devices and simulators directly from the Zed editor. List, launch, and run apps on iOS Simulators, Android Emulators, and physical devices.

Features

  • List Devices: View all connected devices and available simulators
  • Launch Simulators: Boot iOS Simulators and Android Emulators
  • Run Apps: Deploy and run Flutter apps to devices
  • Hot Reload: Quick access to hot reload commands
  • View Logs: Stream device logs

Commands

Command Description
/devices list List all connected devices and simulators
/devices launch <id> Boot a simulator or emulator
/devices run [device_id] Run Flutter app on a device
/devices hot-reload Trigger hot reload
/devices logs <id> Show device logs

Supported Frameworks

  • Flutter (primary focus)
  • iOS Native (via xcrun simctl)
  • Android Native (via adb)
  • React Native (planned)

Requirements

  • Flutter: Install Flutter SDK and ensure flutter is in your PATH
  • iOS: Xcode Command Line Tools (xcode-select --install)
  • Android: Android SDK with adb and emulator in your PATH

Installation

From Zed Extensions

  1. Open Zed
  2. Go to Extensions (Cmd+Shift+X)
  3. Search for "Device Manager"
  4. Click Install

Manual Installation (Development)

  1. Clone this repository
  2. In Zed, open Extensions and click "Install Dev Extension"
  3. Select the zed-device-manager folder

Usage

  1. Open the Assistant panel in Zed (Cmd+Enter)
  2. Type /devices list to see available devices
  3. Use autocomplete to see available commands and devices

Examples

/devices list
→ Shows all Flutter devices, iOS Simulators, and Android devices

/devices launch iPhone-15-Pro
→ Boots the iPhone 15 Pro simulator

/devices run emulator-5554
→ Runs the Flutter app on the specified Android emulator

/devices logs ABCD1234-5678-...
→ Shows recent logs from the specified device

Permissions

This extension requires the process:exec capability to run device management commands:

  • flutter - Flutter CLI
  • xcrun - iOS Simulator management
  • adb - Android Debug Bridge
  • emulator - Android Emulator

License

MIT License - see LICENSE

Contributing

Contributions welcome! Please open an issue or PR on GitHub.