editor.stickyScroll.defaultModel = foldingProviderModel not working like vscode does

Where does the bug appear (feature/product)?

Cursor IDE

Describe the Bug

cursor 2.2.44 does not add more than 4 sticky layers to js code as I scroll through the code, vscode 1.105.1 adds all application lines as sticky layers

Steps to Reproduce

Open js code and browse deep scopes in JS code

Expected Behavior

should keep adding layers to top area

Operating System

Linux

Current Cursor Version (Menu β†’ About Cursor β†’ Copy)

2.2.44 aaaaaaaaaaaaaaaaaaaaaaa

Does this stop you from using Cursor

No - Cursor works, but with this issue

Hey @wysisoft!

I think Cursor and VS Code are actually behaving the same here. The number of sticky layers shown depends on how much vertical space is available in your editor. The larger your terminal/panel at the bottom, the fewer layers can be displayed.

With identical settings on both:

    "editor.stickyScroll.enabled": true,
    "editor.stickyScroll.defaultModel": "foldingProviderModel",
    "editor.stickyScroll.maxLineCount": 10

VSCode:

Cursor:

Could you check whether your terminal pane is sized differently between the two editors? That might explain why you’re seeing more layers in VS Code.

Sorry it was the zoom level, I will close this, thanks

1 Like

This topic was automatically closed 22 days after the last reply. New replies are no longer allowed.