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 to main-vs-deps #53666

Merged
101 commits merged into from
May 25, 2021
Merged

Merge main to main-vs-deps #53666

101 commits merged into from
May 25, 2021

Conversation

dotnet-bot
Copy link
Collaborator

This is an automatically generated pull request from main into main-vs-deps.

Once all conflicts are resolved and all the tests pass, you are free to merge the pull request. 🐯

Troubleshooting conflicts

Identify authors of changes which introduced merge conflicts

Scroll to the bottom, then for each file containing conflicts copy its path into the following searches:

Usually the most recent change to a file between the two branches is considered to have introduced the conflicts, but sometimes it will be necessary to look for the conflicting lines and check the blame in each branch. Generally the author whose change introduced the conflicts should pull down this PR, fix the conflicts locally, then push up a commit resolving the conflicts.

Resolve merge conflicts using your local repo

Sometimes merge conflicts may be present on GitHub but merging locally will work without conflicts. This is due to differences between the merge algorithm used in local git versus the one used by GitHub.

git fetch --all
git checkout merges/main-to-main-vs-deps
git reset --hard upstream/main-vs-deps
git merge upstream/main
# Fix merge conflicts
git commit
git push upstream merges/main-to-main-vs-deps --force

Cosifne and others added 14 commits May 24, 2021 11:04
Correctly disable OK button in pull members dialog
* Move IEditorFormattingService to the Features layer

Today, IEditorFormattingService lives in the EditorFeatures layer, which is an impediment to making the API public and to making our LSP depend only on the Features layer. This moves the service down to the Features layer. The service was almost entirely independent of the EditorFeatures layer today, with one exception: it used [Microsoft.VisualStudio.TextEditor.IIndentationManager.GetIndentation](https://docs.microsoft.com/en-us/dotnet/api/microsoft.visualstudio.text.editor.iindentationmanagerservice.getindentation?view=visualstudiosdk-2019#Microsoft_VisualStudio_Text_Editor_IIndentationManagerService_GetIndentation_Microsoft_VisualStudio_Text_ITextBuffer_System_Boolean_System_Boolean__System_Int32__System_Int32__), which of course cannot be directly moved to the Features layer. I extracted the extension method that called this into it's own workspace service, with a no-op implementation in the Workspace layer, and a VS-specific implementation in the EditorFeatures layer that overrides the no-op version and calls the VS-specific API. The API is also renamed to `IFormattingInteractionService`, and the returns are changed to be `ImmutableArray`, rather than `IReadOnlyList`.

Co-authored-by: Sam Harwell <Sam.Harwell@microsoft.com>
Move language version check for syntax node action to compilation start
AddAccessibilityModifiers: record struct support
Move initial part of LSP loading off the UI thread.
Add ability to underline variables in the editor that are reassigned.
Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Auto-approval

@ghost ghost merged commit 6967597 into main-vs-deps May 25, 2021
@ghost ghost deleted the merges/main-to-main-vs-deps branch May 25, 2021 06:14
@ghost ghost added this to the Next milestone May 25, 2021
@dotnet-bot dotnet-bot restored the merges/main-to-main-vs-deps branch May 25, 2021 09:02
@dotnet-bot dotnet-bot deleted the merges/main-to-main-vs-deps branch May 25, 2021 09:02
@dotnet-bot dotnet-bot restored the merges/main-to-main-vs-deps branch May 25, 2021 12:01
@RikkiGibson RikkiGibson modified the milestones: Next, 17.0.P2 Jun 29, 2021
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants