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 master to master-vs-deps #39950

Merged
13 commits merged into from
Nov 22, 2019
Merged

Conversation

dotnet-bot
Copy link
Collaborator

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

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

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

jasonmalinowski and others added 12 commits November 20, 2019 14:58
…rchy

This hierarchy today was holding onto an IServiceProvider and also
in some cases the package, often to only get MEF services from the
IComponentModel. This simplifies it all, and will let us remove
more direct coupling from various types.
Now that the AbstractOleCommandTarget directly holds onto an
IComponentModel, we can use that rather than fetching it from other
places.
This implementation lived in VsLanguageDebugInfo, but wasn't dependent
on anything in that, really. Moving this and inlining the code means
we can remove the need for an AbstractTextViewFilter to hold onto
an AbstractLanguageService which is a problem.
Now that we've removed the dependency, we don't need to pass this
around anymore.
There is now nothing in the generic version of AbstractVsTextViewFilter,
so we can flatten the two types in the hierarchy.
We don't need to hold onto the entire class just to fetch the GUID,
which decouples this nicely.
ContainedLanugage and VenusCommandFilter no longer require generic type
parameters, except for the compatibility constructors for TypeScript
and LiveShare. This removes the type parameters but leaves in
derived types for compatibility.
…rs-and-contained-documents-from-language-service

Decouple command filters and contained documents from language service
This is a backport of changes from master-vs-deps
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 aeabd60 into master-vs-deps Nov 22, 2019
@ghost ghost deleted the merges/master-to-master-vs-deps branch November 22, 2019 03:00
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.

3 participants