microsoft / vscode

Visual Studio Code
https://code.visualstudio.com
MIT License
162.13k stars 28.52k forks source link

Sticky scroll still doesn't work with C++ 17 nested namespaces #204618

Open albtam opened 7 months ago

albtam commented 7 months ago

Does this issue occur when all extensions are disabled?: Yes/No

VS Code Version: 1.86.0 Commit: 05047486b6df5eb8d44b2ecd70ea3bdf775fd937 Date: 2024-01-31T10:27:46.147Z OS Version: Linux x64 5.15.0-92-generic snap

I can still see the exact same issue reported here

aiday-mar commented 7 months ago

Hi could you please include a copy paste of the code where you are seeing this issue, as well as the sticky lines you see and the sticky lines you would expect to see?

albtam commented 7 months ago

image

I would expect to see on the left side the bool my_function() line.

I realized that the bug only happens when the clangd extension is enabled. So it might be that the problem is not on the vscode side

aiday-mar commented 7 months ago

I see thank you for screenshot. Could you please include a copy paste of both of the code examples from the left and the right diff editor? I will test on my machine with these examples.

albtam commented 7 months ago

The code examples are shown under // Actual code

aiday-mar commented 7 months ago

Hi yes. I tested this on my machine. This may be a bug with rendering the sticky lines from an outline model, we will look into it when there is time.

zhourrr commented 1 month ago

Are there any updates on this issue?

By the way, I wanted to express my gratitude for the sticky scroll feature. I've been using it since its early experimental stages, and it has been working wonderfully.

aiday-mar commented 1 month ago

Hi @zhourrr unfortunately I have not looked at the issue yet, we receive quite a lot of issues daily. Thank you for the ping.