Autocomplete left side of the equation
Answered
Consider, I have a method
private List<String> getListOfStrings(){
}
Is there a way for me to type in
getListOfStrings();
Enter a shortcut and Intellij to autocomplete by adding 'List<String> listStrings = ':
List<String> listStrings = getListOfStrings();
Please sign in to leave a comment.
Hello,
In case you have static method like:
And it's usage is as follows:
You may put the caret on "getListOfStrings();" and press Cmd+Alt+V (or Refactor | Extract | Variable) so the variable will be extracted as: