Autocomplete, change suggested option from camelCase to Underscores?

When you give a class as a parameter in a method and you type $, PhpStorm gives you options for the variable name. Is there a way you can change the camelCase to Underscore or add the option underscore

You type

public function model(formFactory $

You get the options $formFactory & $factory

Is there a way to get $form_factory?

Comment actions Permalink

It's not possible, feel free to submit a feature request: .

Comment actions Permalink

For anyone else stumbling across this question - it IS possible by now, although the place to configure it was a bit of a search. See the screenshot below where to find it.



Please sign in to leave a comment.