Variable Introduce Suggested Name

Not sure in which upgrade this started (somewhere in 6.x though) but when I would do the introduce variable refactor in the past IntelliJ would always do a good job of suggesting a name based on whatever I was introducing a variable for. For example, if I was doing a variable introduce on a method like "getFirstName()", IntelliJ would helpfully suggest firstName as the variable name.

It no longer does this, now for all variable introduction it simply suggests the variable name "message".

Is this now a feature I have to turn on in the options? Or is this just a regression bug?

1 comment
Comment actions Permalink

BTW, I am using 6.0.3 build 6146.

6.0.4 was doing this as well when I was running that which was build 6148 I believe (had to "downgrade" for a different issue).

0

Please sign in to leave a comment.