Ever since late 2019 versions, IntelliJ prefers global methods/variables rather than local. Some examples:
- when auto-completing a return statement for a method that return an interface, upon ctrl+space IntelliJ after typing `Defa` the first suggestion on the list is from `javax.validation.props.Default` interface rather than a local static class named `Default`
- when trying to autocomplete methods for put or add on a Map, IntelliJ emphasizes putAll and addAll (it used to be put/add were a preference).
- when autocompleting method names, IntelliJ prefers static method from some other classes rather than local within the class.
- when autocompleting on the variables, IntelliJ prefers fields to local variable.
"prefers" in my wording refers to the way autocompletes sorts the results placing global names before local. This change affects development patters whereas I can no longer type + ctrl+space + enter with correct method. Having global priority disallows for fast development.