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
to create file simple click on any folder in your workspace and choose new File
go to settings and search createfiles
this all template
{{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
{{className}}
replace to File name