Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Create FilesNew to Visual Studio Code? Get it now.
Create Files

Create Files

i74ifa

|
954 installs
| (2) | Free
A Visual Studio Code extension for create PHP Classes and vue.js and react and more. context menu in file explorer
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Create Files

Create Files

create PHP Class and Vue files and React from context menu in file explorer or in opened file.

The namespace is auto-resolved through composer.json file.

you can edit template from settings make sure use settings.json to edit template because settings ui not support new lines

Create file

to create file simple click on any folder in your workspace and choose new File

CreateTrait

Edit Templates

go to settings and search createfiles this all template

explain slugs

PHP Templates

{{beforeNamespace}} this if use enable strict mode we replace it to declare(strict_types=1);

{{namespace}} replace to namespace from composer.json

{{className}} replace it to File name

\n insert new line in the text

\t Insert a tab in the text

React Files

{{className}} replace to File name

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