6

I've searched PhpStorm's preferences, documentation, and Google to no avail.

Is there a way to disable by default the "Generate PhpDoc" option in PhpStorm's "Extract Method" dialogue?

2 Answers 2

4

I know this is an ancient post, but I struggled with the same question today. In PHPStorm 2017.1 the setting is here:

Preferences > Editor > Intentions > PHP > Generate PHPDoc for function

Sign up to request clarification or add additional context in comments.

1 Comment

I wish it was that easy! This only takes it out of the alt + return intentions menu. Extracting a method still generates the docs by default.
1

There is now a tickbox when you use the Extract Method intention which says Generate PhpDoc. If you refactor once with this option unticked, it stays unticked.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.