Y
Y
Yaroslav2018-02-19 11:02:44
phpstorm
Yaroslav, 2018-02-19 11:02:44

Is it possible to create a file structure template in PhpStorm?

The project is modular and component. Actually, what a module, what a component, consists of a minimal template of a set of files that contain a minimal boilerplate code. Is it possible in PhpStorm to create a template for this case so that I can click, for example, New->Component (Module, Template, etc) and I have a minimal set of files with minimal code?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey Epifanov, 2018-02-19
@CubaJas

So far, there is no such possibility. Similar functionality has been discussed more than once, the corresponding tickets are in YouTrack JetBrains. Here are some third-party solutions to this problem, perhaps some will suit you

I
Igor Vorotnev, 2018-03-13
@HeadOnFire

Saw this foundation, make it a git repository, and then New Project - From Git Repository?
If PHP, you can also download the composer package.
You can write a script in the CLI to create it, run it from PhpStorm.
Yes, think out loud. All my WP projects are bootstrapped by composer.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question