Code Lens conflicting with Resharper in Visual Studio

I’m using VS 2019 and ReSharper. CodeLens settings gets conflicted with Resharper configuration. CodeLens is an extension used to provide the insights of code such as the number of times the methods or classes references and so on.

Every time when I go to

Tools > Options > Text Editor > All Languages > CodeLens > Enable CodeLens

checkbox is unticked.  Ticking it makes no difference as every time I go back in, it is unticked again.  Removing ReSharper solves this issue.

Reason:

Resharper settings overwrites the CodeLens configuration in Visual Studio

Solution:

Check which option is selected for “Disable CodeLens for all languages” here

ReSharper > Options > Environment > Performance Guide.

Make sure you make it as ignore. And then try Enabling CodeLens now, it will start working right away.

Happy debugging!

Quick steps to import and debug angular GitHub repository in StackBlitz

StackBlitz is an online IDE where you can create Angular & React projects that are immediately online & shareable via link.

It provides option to open any public repo into it and debug immediately.

You can run any public repo on GitHub by providing the username + repo name like so:

stackblitz.com/github/{GH_USERNAME}/{REPO_NAME}

And you can also optionally specify a branch, tag, or commit:

…/github/{GH_USERNAME}/{REPO_NAME}/tree/{TAG|BRANCH|COMMIT}

Automatically stays in sync with your repo

Whenever you push commits to Github, the corresponding StackBlitz project automatically updates with the latest changes — ensuring Github remains your code’s source of truth.

For example,

If we have angular repo like below

https://github.com/PandiyanCool/thirukural

This can be framed as following URL

https://stackblitz.com/github/PandiyanCool/thirukural

Advertisements