Nathan Arthur
Nathan Arthur

Reputation: 9106

Disable PhpDoc by Default in PhpStorm Extract Method Refactoring Dialogue

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?

Upvotes: 6

Views: 1851

Answers (2)

Tobias Grunwald
Tobias Grunwald

Reputation: 189

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.

Upvotes: 1

flurbs
flurbs

Reputation: 41

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

Upvotes: 4

Related Questions