Cursor prevents Gitlens configuration from working

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

Cursor prevents the following Gitlens configuration settings from taking effect:

  • gitlens.currentLine.enabled
  • gitlens.codeLens.enabled

Steps to Reproduce

Open the same repo / files / code in Cursor and in VS Code. Ensure both have the same version of Gitlens installed.

Toggle the value of the setting gitlens.codeLens.enabled between true/false. Observe that nothing happens in Cursor, but the Code Lens appears and disappears in VS Code.

Expected Behavior

All Gitlens configuration options should work as normal.

Operating System

MacOS

Version Information

Version: 2.4.27
VSCode Version: 1.105.1
Commit: 4f2b772756b8f609e1354b3063de282ccbe7a690
Date: 2026-01-31T21:24:58.143Z
Build Type: Stable
Release Track: Default
Electron: 39.2.7
Chromium: 142.0.7444.235
Node.js: 22.21.1
V8: 14.2.231.21-electron.0
OS: Darwin arm64 24.6.0

Additional Information

Impact

Gitlens has 4.9 million installs, so the potential impact to Cursor users should be considered widespread.

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey, thanks for the report.

I need a bit more info to troubleshoot:

  1. What GitLens version are you using in Cursor and VS Code? (Open the Extensions panel, find GitLens, and you’ll see the version there.)

  2. Where are the settings set: in workspace settings.json or user settings.json?

  3. Cursor Blame might conflict with GitLens. Try disabling it:

    • Press Cmd+Shift+P
    • Type Cursor Blame: Toggle Editor Decoration
    • Then restart Cursor and check if the GitLens settings start working
  4. Any errors in Extension Host output?

    • Cmd+Shift+P > “Output: Show Output Channels”
    • Select “Extension Host”
    • Paste anything you see there related to GitLens

Try turning off Cursor Blame first. I’ve seen a similar case where it blocked GitLens. Let me know what you find.