Enable CodeLens in Visual Studio 2019

At the moment it happens to me more often that CodeLens is not active in Visual Studio. Unfortunately I couldn't find out if this is in bug in the cu .....