Reputation: 14928
I work on a project with some specific naming conventions which are different from the default ones in PhpStorm 2016.3. For example, when I need to create a method and start typing its parameters, autocomplete tries to help me in the following way:
function meh(MehObject $mehObject, AutoComplete $autoComplete) {}
I need something different to appear by default as I type, though:
function meh(MehObject $meh_object, AutoComplete $auto_complete) {}
If I succeed changing the convention in PhpStorm, I'll only need to press enter once after $
, and a valid name will appear. As for now, I need to type the full name with an underscore (or even a few underscores). That is unproductive.
How do I change the default naming conventions for the given example and other cases in PhpStorm 2016.3?
Upvotes: 4
Views: 154
Reputation: 165148
PhpStorm 2016.3.1 has such options -- WI-26738.
Here is a screenshot of the Settings/Preferences (image taken from official comment) -- notice the bottom part of the screen.
Upvotes: 4