Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Insert & Remove dd() for LaravelNew to Visual Studio Code? Get it now.
Insert & Remove dd() for Laravel

Insert & Remove dd() for Laravel

Archana

|
8 installs
| (0) | Free
Quickly insert or remove dd() and @dd() debug statements in Laravel PHP and Blade files.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Remove & Insert dd() for Laravel (VS Code Extension)

This Visual Studio Code extension helps Laravel developers insert or remove dd() debug statements quickly and efficiently.


🚀 Features

  • ✅ Insert dd($variable)

    • Select a variable → press Alt + D
    • Automatically adds dd($variable); on the next line
    • Detects Blade files and inserts @dd($variable) instead
  • 🗑️ Remove all dd() statements

    • Press Ctrl + Alt + D to remove all:
      • dd(...)
      • @dd(...)
    • Works across your entire Laravel workspace
    • Skips vendor/, node_modules/, and storage/ folders for safety
  • 🧹 Remove dd() from current file only

    • Press Ctrl + Shift + D
    • Removes all dd(...) or @dd(...) only from the file currently open in the editor

💡 Usage

Shortcut Action
Alt + D Insert dd($variable) on next line
Ctrl + Alt + D Remove all dd() or @dd() globally
Ctrl + Shift + D Remove all dd() or @dd() in current file only

⚠️ Make sure your workspace is open. This extension searches and edits files under the root Laravel project directory.


📂 File Support

  • ✅ Works in all .php files
  • ✅ Targets folders like app/, routes/, resources/
  • ❌ Skips vendor/, node_modules/, and storage/ folders to avoid modifying external or cached code

🔧 Requirements

  • VS Code v1.99.0 or higher
  • Laravel project recommended

📦 Installation

  1. Download or build the .vsix file using vsce package
  2. In VS Code, press Ctrl + Shift + P → Extensions: Install from VSIX...
  3. Select your .vsix file to install

🔐 License

MIT License

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft