Questions tagged [codelens]

CodeLens is a code editor enhancement of Microsoft Visual Studio 2013 Ultimate and 2015 Professional and up to show code changes, references, bugs, work items and code review requests.

CodeLens is a code editor enhancement of Microsoft Visual Studio 2013 Ultimate and 2015 Professional and up to show code changes, references, bugs, work items and code review requests. For more info refer: https://learn.microsoft.com/en-us/visualstudio/ide/find-code-changes-and-other-history-with-codelens

114 questions
0
votes
1 answer

vscode-jest: codelens appear only once

I am using Jest in my CRA + Typescript application (ejected). Recently I have installed the vscode-jest extension. When I first open vscode and go to a test file, I can see there are codelens "Debug" next to each of my test (next to the "it" keep…
TheSoul
  • 4,906
  • 13
  • 44
  • 74
0
votes
1 answer

Visual Studio 2017 v15.7.2 Code Lens issue on Light theme

After an update to version 15.7.2, code lens displays partly unreadable text but only on light theme. Any idea on how to fix this?
xariez
  • 529
  • 1
  • 5
  • 17
0
votes
1 answer

Missing Application Insights Telemetry on CodeLens after installing Resharper

I am having problems with CodeLens after installing R# and I would appreciate any help I could get. After installing Resharper CodeLens stopped showing Telemetry, I should be seeing something like this: Instead I get a broken Work Item list: I…
0
votes
1 answer

Is any possibility to add the SVN into the code lens in visual studio?

Is any extension available to add svn into the code-lens?
Arun Kumar
  • 1,449
  • 1
  • 17
  • 33
0
votes
1 answer

Resharper Unit Tests do not interact with Code Lens

Is there a way to let ReSharper have an effect to the Code Lens Part for the executed tests? So, i want my tests that got executed by a resharper unit test session, to show the state in the unittest part of code lens. Im using VS2015 Enterprise and…
Dom84
  • 852
  • 7
  • 20
0
votes
1 answer

Codelens ignores class

Why might Codelens ignore a class? This class shows the Codelens mark up " 1 reference" This class does not I have tried cleaning and rebuilding I am using VS2017 with Resharper both classes have a DbSet in the DbContext.
Kirsten
  • 15,730
  • 41
  • 179
  • 318
0
votes
1 answer

Is there a way to increase CodeLens cache or persistence in VS Code?

In VS Code, if I swap between multiple tabs quickly, the CodeLens for references disappears and re-loads every time, which is annoying and jarring. Is there a way to increase the cache or persistence of CodeLens annotations so that, for example, all…
0
votes
1 answer

"Codelens server returned forbidden (403) for C:\....aspx.cs" on VS2017 Pro opening solution

I have Visual Studio 2017 Professional and all CodeLens options are turned on. When I open one of our solutions (linked to TFS 2010 source control) I get the above error (with the filename fully specified) in the "Source Control - Team Foundation"…
StarNamer
  • 650
  • 1
  • 11
  • 27
0
votes
1 answer

VisualStudio CodeLens: how to show references to mebers like for properties and methods

In VisualStudio (2015): is it possible to show references to a member variable like for properties and methods?
Monotomy
  • 554
  • 1
  • 6
  • 24
0
votes
1 answer

CodeLens showing wrong description for changeset

I updated the comment/description for a changeset and CodeLense is showing the old/not updated description The changeset using CodeLense: The changset using Team Explorer (showing the updated desc.) Is there perhaps a difference between "Comment"…
0
votes
1 answer

Creating a multi-targeting VS-version extension that includes CodeLens

I'm using a method to have one VSIX extension for multiple versions of Visual Studio whereby I dynamically load the appropriate DLL based on the detected version. This works fine for most parts of my extension, but not my CodeLens extension. The…
George Duckett
  • 31,770
  • 9
  • 95
  • 162
0
votes
1 answer

Loading a solution causes exception at start of Visual Studio 2015 Community

I recently added some extensions to Visual Studio 2015 Community and since then I experience this error message when I load a solution: I tried to run Visual Studio as administrator and disabled/uninstalled the new extensions, but nothing helps or…
0
votes
1 answer

Visual Studio 2015 CodeLens Github Support

Has anybody got CodeLens to work properly with Github? All of my settings are enabled. However, I only get reference count for GitHub projects.
Ethosik
  • 401
  • 1
  • 4
  • 9
0
votes
2 answers

VS CodeLens on Properties

I have a class that has about 1200 constant fields. I know that some of them (maybe 10%) are deprecated/legacy fields that have 0 references in the solution. Instead of going one by one and find all references, I thought that CodeLens would show me…
yazanpro
  • 4,512
  • 6
  • 44
  • 66
0
votes
3 answers

Visual Studio 2015 Update 2 Codelens enabled, but not functioning

enter image description hereI had to reinstall VS2015 and updated to Update 2. Codelens is present and all checked, but no references are present in any of my solutions. enter image description here I've uploaded an image.... all Codelens…