title: P4VS code lens integration shows all file-level changes for each function
body: <p><em>(I've looked far and wide but I can't even find anyone having the same problem, not to mention a fix or anything. Closest is <a href="https://forums.perforce.com/index.php?/topic/6036-p4vs-codelens-support-for-vs2019/" rel="nofollow noreferrer">this</a> thread which just announces the feature...)</em></p>
  
  <p>The way it currently works for me, the VS2019 code lens integration of P4VS (for C++ at least) is almost completely pointless. <em>Each function</em> has an indicator added, but the information in each is identical - namely the change history of the <em>entire file</em>:</p>
  
  <p><a href="https://i.stack.imgur.com/0IxSC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0IxSC.png" alt="this"></a></p>
  
  <p>According to <a href="https://docs.microsoft.com/en-us/visualstudio/ide/find-code-changes-and-other-history-with-codelens?view=vs-2019" rel="nofollow noreferrer">this Microsoft article</a>, I would expect to either get function-level change information <em>that pertains only to that function</em> or a single change summary of the file at the bottom of the editor. But instead I get the worst combination of both.</p>
  
  <p>I'm mainly surprised that I can't find anyone else talking about this, so I assume something is misconfigured on my part. Can't find anything in the configuration options though...</p>
  
  <p>Is this just a bad implementation by Perforce or is something wrong on my end?</p>