dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
19.06k stars 4.04k forks source link

VS highlights issues after git pull #75922

Open vsfeedback opened 4 hours ago

vsfeedback commented 4 hours ago

This issue has been moved from a ticket on Developer Community.


[severity:It bothers me. A fix would be nice] [regression] [worked-in:17.12.0] Repro:

  1. Open a VS C# project that is in a git repo - open a C# file in the editor
  2. Modify the git repo used changing the C# file to call new methods created in other files
  3. From VS, git pull on the project

Note the C# file shown is updated but now shows red squigglies on the new method calls. Problem persists even after doing a rebuild all (which succeeds).

Problem workaround: open the C# file where the new method is defined, then open the problematic C# file again. Squigglies go away.


Original Comments

Hafthor Stefansson [MSFT] on 11/13/2024, 00:37 PM:

just tried to record a screen video of this happening, but this time it didn’t occur. will update if I figure out any additional steps needed to repro this.

Hafthor Stefansson [MSFT] on 11/13/2024, 04:12 PM:

(private comment, text removed)

Feedback Bot on 11/13/2024, 07:28 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Feedback Bot on 11/14/2024, 10:30 AM:

Thank you for sharing your feedback! Our teams prioritize action on product issues with broad customer impact. See details at: https://docs.microsoft.com/en-us/visualstudio/ide/report-a-problem#faq. In case you need answers to common questions or need assisted support, be sure to use https://visualstudio.microsoft.com/vs/support/. We’ll keep you posted on any updates to this feedback.

CyrusNajmabadi commented 4 hours ago

Likely an issue with lost FS notifications.