catch errors for jump to def in separate doc added by vs refs.