You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This is an incredibly useful extension. However, it does noticeably affect scrolling files with lengthy sql literals (e.g. a stored procedure with 250 lines) when the extension is enabled, even if there are no directives in the file itself to enable the highlighting.
Scrolling will freeze for a noticeable second or two. It affects both scrolling with the cursor as well as mouse and scrollbar.
Visual Studio 2022
Dell Precision 7540 with 6 cores and 64 Gb memory.
When I disable the extension, scrolling is normal and smooth.
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue. Would you mind sharing an example?
The extension does still have to scan a file to search for any potential directives that enable highlighting but the impact should be minimal and only run when the file content updates.
I tried reproducing this but the scroll freeze is not that pronounced for me on a much weaker laptop with a ~1k line stored procedure string literal. I can notice maybe 100-200ms delay sometimes but it is not consistent and only when dragging a scrollbar. Maybe it has to do more with complexity of the code.
Thanks for looking into it. I've added you to a repo with some examples where it hangs, and one file that does not hang too much. Explanations in the readme.
If the examples don't make your scrollbar hang, then it's probably something with my VS configuration and we'll just leave it at that.
Thanks for the example! It hangs for me as well and I noticed it has to do with interpolated string literals. When I remove the dollar from the start then it scrolls smoothly. I'll see what I can do to fix this.
This is an incredibly useful extension. However, it does noticeably affect scrolling files with lengthy sql literals (e.g. a stored procedure with 250 lines) when the extension is enabled, even if there are no directives in the file itself to enable the highlighting.
Scrolling will freeze for a noticeable second or two. It affects both scrolling with the cursor as well as mouse and scrollbar.
Visual Studio 2022
Dell Precision 7540 with 6 cores and 64 Gb memory.
When I disable the extension, scrolling is normal and smooth.
The text was updated successfully, but these errors were encountered: