xiān​yì​chéng​zhì

to anticipate someone's wishes