dotnet / dotnet/fsharp

Editor Sticky Scroll not working properly with F#

Open
#14,542 1 comment 0 reactions 0 assignees View on GitHub
AI-thinks-windows-only Area-VS-Editor Bug Impact-Low
Dominant language
F#
Stars
4.3k
Forks
876
Avg merge
4d 22h
Merged PRs (30d)
144

Description

_This issue has been moved from [a ticket on Developer Community](https://developercommunity.visualstudio.com/t/Editor-Sticky-Scroll-not-working-properl/10233198)._

The new editor sticky scroll feature works well with C# but chooses badly which lines to make sticky when editing an F# file. Visual Studio Code does not have the same problem, it picks the correct lines. The Visual Studio 2022 implementation can even pick comment lines to make sticky.

If you are unable to make it work correctly with different languages, then at a minimum the feature needs to have a per-language option instead of just a single global control as it does now.

See attached screen clips from each as a comparison.

![image](https://user-images.githubusercontent.com/1260985/210800737-aab9a903-9f84-48b5-8504-801a04dade8a.png)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.