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

Example
You type

public function model(formFactory $

You get the options $formFactory & $factory

Is there a way to get $form_factory?

2 comments
Comment actions Permalink

It's not possible, feel free to submit a feature request: http://youtrack.jetbrains.com/issues/WI#newissue=yes .

0
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.

 

0

Please sign in to leave a comment.