question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Bugs encountered while editing SDK project in Visual Studio (lost edit history, cursor position, scrollbar position)

See original GitHub issue

When editing a SDK project in Visual Studio 2019, I have encountered several problems.

Repo:

  1. Open SDK project
  2. paste <ItemGroup ></ItemGroup> in Project (note the space between the tag name and the closing bracket.
  3. Save project file

Expected behavior: Cursor remains in same position, vertical scroll bar position remains unchanged, edit history has new item added to it.

Actual behavior:

  1. Cursor/caret is moved to the bottom of the document
  2. Vertical scrollbar is moved to the top (if it is not there already)
  3. Edit history is cleared (can no longer undo prior actions)

NOTE: The sequence of the above behavior may not be correct, but if you wait a second or so all 3 actions happen.

Version info: Microsoft Visual Studio Enterprise 2019 Version 16.8.4 VisualStudio.16.Release/16.8.4+30907.101 Microsoft .NET Framework Version 4.8.04084

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:13 (7 by maintainers)

github_iconTop GitHub Comments

2reactions
jjmewcommented, Feb 24, 2021

@jrmoreno1 CPS is Common Project System. It is the underlying framework that we use to build .NET Project System.

0reactions
jrmoreno1commented, Feb 24, 2021

@jjmew : what does CPS stand for?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Edit & Continue with local functions constantly failing.
Since my last update of VS2019 (I can't remember the previous version) the C# Edit & Continue when editing functions with local functions ......
Read more >
Scroll Bar's scrolling bar missing - visual studio 2012
Go to Tools > Options > Text Editor > All Languages > Scroll Bars. Check the appropriate scroll bars. enter image description here....
Read more >
Can't drag scroll bars anymore · Issue #124895
Apparently the scrollbar is "missing" the click event. Clicking on the scrollbar is actually sending the click in the current editor itself. I ......
Read more >
Scroll bar map mode and bar mode - Visual Studio
Open the Scroll Bars options page by choosing Tools > Options > Text Editor > All Languages > Scroll Bars. · Select Show...
Read more >
WebView | Android Developers
android:scrollbarStyle, Controls the scrollbar style and position. ... Called when the window containing has change its visibility (between GONE , INVISIBLE ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found