Change default naming conventions in PhpStorm 2016.3

I am working on a project with some specific naming conventions that are different from the standard ones in PhpStorm 2016.3. For example, when I need to create a method and start entering its parameters, autocomplete tries to help me as follows:

function meh(MehObject $mehObject, AutoComplete $autoComplete) {}

I need something else to display by default on input, but:

function meh(MehObject $meh_object, AutoComplete $auto_complete) {}

If I manage to change the agreement in PhpStorm, I will only need to press enter after $and the correct name will appear. At this point, I need to enter the full name with an underscore (or even several underscores). This is unproductive.

How to change the default naming conventions for this example and other cases in PhpStorm 2016.3?

+4
source share
1 answer

PhpStorm 2016.3.1 has such parameters - WI-26738 .

Here is a screenshot of the settings / settings (image taken from the official comment ) - pay attention to the bottom of the screen.

enter image description here

+4
source

Source: https://habr.com/ru/post/1663059/


All Articles