V
V
vitaly_742022-01-17 15:25:13
phpstorm
vitaly_74, 2022-01-17 15:25:13

How to change the auto-import parameters of a class?

When I do a class import, in the code documentation, phpstorm inserts the entire class along with its full namesace
61e55f2032e64067782676.png
how to make phpstorm insert a single class like in the screenshot below?
61e55f764ab93090226357.png

And the second question when pressing alt+enter phpsrotm inserts documentation with @inheritDoc tag as in the screenshot below:
61e55ffea428a719474984.png
How to make phpstorm insert documentation without this tag. and immediately necessary
61e5602427f70834760132.png

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sergey delphinpro, 2022-01-17
@delphinpro

In the php codestyle settings. Keep in mind that if you uncheck the box, the classes will be automatically imported into the file.
61e5639188f5e529114231.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question