Every now and again part of the Visual Studio code display vanishes on me and I can never remember the setting
Visual Studio CodeLens
In order to get it back I need to re-enable the CodeLens in the Visual Studio options
Visual Studio CodeLens Options