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

Update to use OmniSharp 0.19.0 #1424

Merged
merged 32 commits into from
Mar 26, 2021
Merged

Conversation

andyleejordan
Copy link
Member

@andyleejordan andyleejordan commented Mar 12, 2021

This updates our base dependency, OmniSharp, from 0.18.3 to 0.19.0, which included many API changes. The approach taken to reduce code was the replacement of interface-implementations with ABC derivations, providing a few things for free for each of the derived classes, and is more inline with the expectations of the library developers. There are a couple classes that implement multiple interfaces, and have been left TODO for a switch to an ABC implementation. Furthermore, the C# language specification needed to be updated because of OmniSharp's use of new language features (namely records), and I found that our xUnit package was misaligned.

@andyleejordan andyleejordan requested a review from rjmholt March 12, 2021 23:43
@andyleejordan andyleejordan force-pushed the andschwa/omnisharp-update branch from 338b1ed to 3194f8a Compare March 12, 2021 23:45
@andyleejordan
Copy link
Member Author

Working on getting this put together. FYI @rjmholt and @david-driscoll

@andyleejordan andyleejordan force-pushed the andschwa/omnisharp-update branch 3 times, most recently from 48d2ceb to bedcc39 Compare March 13, 2021 02:54
@andyleejordan
Copy link
Member Author

The PSES tests don't pass, but it builds! The extension tests pass, I think.

@andyleejordan andyleejordan force-pushed the andschwa/omnisharp-update branch 6 times, most recently from 8185019 to c83f4aa Compare March 17, 2021 21:25
@andyleejordan andyleejordan force-pushed the andschwa/omnisharp-update branch from c83f4aa to f5df46e Compare March 19, 2021 16:50
@andyleejordan andyleejordan force-pushed the andschwa/omnisharp-update branch from f5df46e to ac9de93 Compare March 23, 2021 19:00
@andyleejordan andyleejordan force-pushed the andschwa/omnisharp-update branch from ac9de93 to 3ae17e8 Compare March 25, 2021 21:06
@andyleejordan andyleejordan marked this pull request as ready for review March 25, 2021 21:27
@andyleejordan andyleejordan added Area-Language Server Issue-Enhancement A feature request (enhancement). labels Mar 25, 2021
@andyleejordan
Copy link
Member Author

This is ready @rjmholt!

@andyleejordan andyleejordan merged commit 1ffe6db into master Mar 26, 2021
@andyleejordan andyleejordan deleted the andschwa/omnisharp-update branch March 26, 2021 17:13
@andyleejordan
Copy link
Member Author

Supersedes dependabot's PRs: #1419, #1421, and #1422.

Name = "Main Thread"
})
// TODO: This is an empty container of threads...do we need to make a thread?
Threads = new Container<System.Threading.Thread>()
Copy link
Member Author

Choose a reason for hiding this comment

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

I thought this was weird, but we already didn't really know what to do with it (see "What do I do with these?")

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-Language Server Issue-Enhancement A feature request (enhancement).
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants