Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Microsoft Visual Studio 2022 preview 2 adds Sticky Scroll function

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >

Share

Shulou(Shulou.com)11/24 Report--

CTOnews.com, December 17, Microsoft announced that Visual Studio 2022 Preview 2 has added Sticky Scroll (sticky scrolling) to help increase user productivity.

Sticky Scroll reminds the user which code is being edited by pinning the relevant Headers above the scrolling view. This feature is turned off by default, but can be turned on by going to tools > options > text Editor > General > Sticky Scroll and toggling the Show nested current scope in the scroll at the top of the editor option.

Sticky Scroll is currently a bit limited in terms of supported languages, but this can be useful when editing code written by C #, C++, XAML, and JSON. Microsoft said it will continue to improve this feature, so it is possible to add more language support for Sticky Scroll in the future.

CTOnews.com learned that the Sticky Scroll feature allows namespaces,classes and methods to stick to the top of the editor as they scroll through the code. The Sticky Scroll section grows and shrinks as the applicable headers is passed. This should help identify which part of the code you are editing without having to scroll up and look at it again, saving time.

If you don't like too much content at the top of the editor, the user can limit the number of lines from where it is enabled. Just enter the number of rows you want next to define the maximum number of sticky rows displayed, and then press OK. To get started with this feature, download the latest preview of Visual Studio 2022.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

IT Information

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report