Skip to content

ddev/vscode-ddev-manager

Repository files navigation

DDEV Manager

This extension simplifies the management of all your DDEV projects offering a centralized and user-friendly interface to control every aspect of your projects.

DDEV Preview

View all your DDEV projects from the sidebar

The sidebar provides an overview of all your projects, offering a user-friendly interface for customizing each project with ease. If your active workspace includes or is part of a DDEV project, you can use the command palette.

DDEV Sidebar

Control your workspace project from the command palette

In addition to the sidebar, you can use the command palette to manage the current DDEV project open in VSCode. All commands executed through the command palette are specifically targeted at the project found in the workspace. There are cases when you only open a subfolder of a DDEV project with VSCode, the extension is smart enough to automatically detect that the opened folder is part of a DDEV project and get all the correct project data.

Command Palette

Change PHP/NodeJS and Server Type

You can easily customize the PHP and NodeJS version used in your project. You'll see a list of all the available versions to choose from. The extension will take care of the rest.

DDEV Processes

Manage your projects services

You can add and delete services directly from VSCode, you will see a list of the available services to install or a list of the installed services, depending on your chosen action, so you can easily choose the services to add or remove.

DDEV Services

Installed services will display different actions based on their service type, If a service exposes a URL, you can easily launch it with a single click.

DDEV Services Actions

SSH Access to your projects

You can launch an SSH terminal for any of your running projects. Within the sidebar, each project has a button to create a new terminal in the current VSCode window, so no matter if you are working on project A you can SSH access project B in the same window with a single click. If your active workspace includes or is part of a DDEV project you can use the command palette to Start SSH session or you'll also have the option to create a new DDEV terminal from the terminals panel.

DDEV SSH

DDEV SSH

Many more features

  • Sidebar to manage all your DDEV projects
  • Create fully functional projects with a single click
  • Use the command palette to run commands on the workspace you are working on
  • Start/Stop/Restart/Rename/Delete projects
  • Stop all projects except the selected one
  • Change Services versions (PHP, NodeJS, Server, etc.)
  • Install/Uninstall Services
  • Launch Installed Services (Adminer, Mailhog, phpMyAdmin, etc.)
  • Create/Restore/Clear Snapshots
  • Import/Export databases
  • Tasks Provider. Define tasks that will run inside the container of your current project or any other DDEV project
  • Option to automatically create a database snapshot when you stop a project
  • Open the database with any application you want (PHP MyAdmin, TablePlus, Sequel Ace, etc.)
  • Easily edit php.ini, nginx.conf, apache.conf and other files
  • Enable/Disable XDebug
  • Automatically configure the debugger to work with Xdebug and DDEV so you don't have to configure anything.
  • Launch configuration snippets for launch.json
  • Enable/Disable Share. Share your project outside of your local network
  • Automatically configure the PHP version in the editor. Used for providing version appropriate suggestions and diagnostics. It required a extension like PHP Intelephense or PHP by DEVSENSE
  • Integrated DDEV terminal
  • Use the command palette to list and open your projects in the active editor or a new window
  • Quickly launch projects in your browser
  • Quickly open the Config.yaml file
  • Poweroff DDEV
  • Reveal DDEV projects in your OS file explorer
  • Change sidebar view to list all projects or only the project for the active workspace
  • Sync state with DDEV and other VS Code windows
  • Start Docker provider if it's not running
  • Check for DDEV updates and instructions to know how to update
  • Clean all DDEV docker images to free up disk space
  • When editing files inside the .dev folder the extension will detect changes and show you different actions depending on the edited file
  • And much more...

Extension Settings

The extension comes with multiple options, to see all the available options go to VSCode Settings -> Extensions -> DDEV Manager

Roadmap

You can see the roadmap and progress here

Requirements

This extension was created and maintained by Biati Digital, if you find it useful please consider adding a review and share it with the world.

Starting from v1.3.3, the extension is now part of the official DDEV org.