To show a full name of the category (payee, project, etc) including all parents simply hold the mouse cursor for a while above the category and hint with the full name will appear, e.g. "Food > Apples".
It works both in the table:
and in the transaction editing window:
This also works with accounts and users.