Skip to content

vscode extension : Launch local Server in a single click from VS Code

Notifications You must be signed in to change notification settings

mJeromeDiaz/start-env-dev

Repository files navigation

Start Dev Env

Launch local Server in a single click from VS Code.


Description

This VS Code extension allows you to quickly start your development environment:

  • One terminal for the Symfony backend
  • One terminal for the Quasar frontend
  • All in a single click, no need to type commands manually

You can optionally configure it via a .vscode/launch.json file.


Installation

  1. Install from the VS Code Marketplace: search for Start Dev Env
    or install locally from a .vsix file:

  2. (Optional) Create a .vscode/launch.json file to customize your commands:

{
  "backend": {
    "path": "api",
    "commands": [
      "symfony server:stop",
      "symfony server:start"
    ]
  },
  "frontend": {
    "path": "front",
    "commands": [
      "quasar dev"
    ]
  }
}

If the file does not exist, default commands will be used.

Usage

Click the 🚀 button in the VS Code toolbar.

Two terminals will open in split terminal mode:

Symfony backend

Quasar frontend

The commands defined in launch.json (or the defaults) will run automatically.

Configuration

Optional file: .vscode/launch.json

You can customize:

Paths (path) for backend and frontend

Commands to run in each terminal

Notes

Terminals open in split mode on the same panel for a clean workspace.

Works on Windows, Linux, and macOS.

Any errors related to keytar or vsce installation do not affect the extension usage.

Contributing

Submit PRs for improvements

Issues on GitHub are welcome

License

MIT

Rocket icons created by Freepik - Flaticon

About

vscode extension : Launch local Server in a single click from VS Code

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published