Even after all these years now IDEA still amazes me sometimes.
I had this in my code
Object newItem = oldItem;
newItem = TO_LOAD_MARKER;
And quite rightly the oldItem assignment was marked grey. But without
thinking I did a "Join Lines" on the first line and it worked!
Object newItem = TO_LOAD_MARKER;
Now I know it works when there's no assignation on the first line, but
with the extraneous one I thought it would just do:
Object newItem = oldItem;newItem = TO_LOAD_MARKER;
It's these little details, these times where where the developer has
just gone that little bit further to make IDEA go above and beyond the
call of duty, that makes IDEA such a pleasure to use. Nice One!