unify struct and union code completion