News

Run Artisan Make Commands in Laravel VS Code Extension

Published
Run Artisan Make Commands in Laravel VS Code Extension image

The Laravel VS Code extension was recently updated with an incredible new feature: run artisan make: commands from the command palette. You can run commands, select flags and options, all without leaving your editor:

Using make:controller from the command palette
Using make:controller from the command palette

Once you type in the name of the controller in this example, you can fuzzy-search for all the available command options, select them, and create your file(s) with your keyboard:

The make:controller command options
The make:controller command options

Along with the command palette, you can contextually use make: commands from the project tree by right-clicking and selecting the desired file type. Depending on which folder in the project, you can contextually create things using make:* commands for controllers, models, queues, jobs, events, etc.

Contextually running make:controller from the file tree
Contextually running make:controller from the file tree

You can get the official Laravel VS Code extension in the marketplace or search for it within the VS Code Extensions sidebar. This feature is available as of v1.4.0.

Paul Redmond photo

Staff writer at Laravel News. Full stack web developer and author.

Filed in

Sponsored

masteringlaravel logo
Laravel Code Review

Get expert guidance in a few days with a Laravel code review

Visit Laravel Code Review

The latest

View all →
CPX: The Composer Package Executor for PHP image

CPX: The Composer Package Executor for PHP

Read article
Laravel AI SDK Adds Human-in-the-Loop Tool Approval image

Laravel AI SDK Adds Human-in-the-Loop Tool Approval

Read article
Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals image

Pest 5 Released With Test Impact Analysis, Agent Verification, and Evals

Read article
Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs image

Queue-SQL: Run Mass Deletes and Updates Across Parallel Queue Jobs

Read article
Blade Formatting in Laravel Pint image

Blade Formatting in Laravel Pint

Read article
Inertia DevTools Is Now on the Chrome Web Store image

Inertia DevTools Is Now on the Chrome Web Store

Read article