Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merge main into VBOverloadResolutionPriority #75955

Merged
merged 184 commits into from
Nov 18, 2024

Conversation

AlekseyTs
Copy link
Contributor

No description provided.

CyrusNajmabadi and others added 15 commits November 15, 2024 12:37
* Add runtime async design doc

Adding an initial design document for runtime async. I'm not making a branch for this yet so I don't have to worry about keeping it up to date until we're actually ready to start implementation work; that should begin soon, but I think getting this document into `main` and starting collaboration with the runtime and debugger folks will help that proceed.

* Remove incorrect IL steps

* Add more examples and updates the runtime document.

* Add another open question

* Add more translated C# samples

* Feedback and more scenarios

* Remove PR link

* Add note about potential hoisted local cleanup
Client side PR - dotnet/vscode-csharp#7791

Implements support for refreshing source generated files provided by
LSP. Refresh notifications are sent to the client based on workspace
changes that may affect source generated files. To handle the
overreporting of refresh notifications, I also implemented resultId
based support in the get text handler - it will now avoid re-sending the
entire text to the client if nothing has changed.


![sg_refresh](https://github.com/user-attachments/assets/065a8532-56c7-4e45-a559-0a451d37697a)
…ions from VS shell (#75815)

* Reduce IVsFreeThreadedFileChangeEvents2.DirectoryChangedEx2 notifications from VS shell

While looking into another FileWatcher issue, I noticed that we were getting more notifications from shell on directory changes than I would have expected. It turns out this is because we don't currently combine WatchDirectory operations as we do WatchFile/UnwatchFile/UnwatchDirectories.

This is generally the desired behavior as vs shell doesn't support multiple directories being supported by a single notification. However, they do support multiple filters on the same directory, and this is exactly the case that we usualy experience when processing a batch of WatcherOperations. This PR simply allows combining of directory watch notifications for the same directory (and sink), keeping track of the combined set of filters that all requests had.

Note that this PR also changed the mergability of WatchFiles by only allowing merging if the sinks are the same. I don't have context to be completely confident the prior behavior is a bug, but it sure seems wrong.
…tion of textchanges (#75928)

* Send over the new sourcetext's content checksum when sending notification of textchanges

Calculation of this on the server was taking quite a bit of CPU (about 11.6% in the scrolling speedometer during the typing scenario). Instead, pass this data over as part of the text change notification, similar to what SerializableSourceText's serialization does.
@dotnet-issue-labeler dotnet-issue-labeler bot added the untriaged Issues and PRs which have not yet been triaged by a lead label Nov 18, 2024
@AlekseyTs AlekseyTs marked this pull request as ready for review November 18, 2024 16:53
@AlekseyTs AlekseyTs requested review from a team as code owners November 18, 2024 16:53
@AlekseyTs
Copy link
Contributor Author

@333fred, @cston, @dotnet/roslyn-compiler Need a sign-off for a merge from main.

@AlekseyTs AlekseyTs merged commit 0367368 into features/VBOverloadResolutionPriority Nov 18, 2024
25 of 28 checks passed
@AlekseyTs AlekseyTs deleted the MainSnapshot branch November 18, 2024 18:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Compilers untriaged Issues and PRs which have not yet been triaged by a lead VSCode
Projects
None yet
Development

Successfully merging this pull request may close these issues.