-
Notifications
You must be signed in to change notification settings - Fork 6
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
LSP: Preparations and Cleanup #687
Conversation
This also pulled in quite a bit of other dependencies, including Microsoft's C# Language Analyzer. Hence, some additional warnings and diagnostics appeared.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a few bad patterns I found which you should check.
This also removes the CRDT and related classes that now become unneeded.
@falko17 Well timed indeed. |
Unfortunately, the new build script versions still cause some trouble with permissions I have to fix before this can be merged. |
Fixed it just in time for actual Christmas Day. This is now ready to review and merge. As it turned out, the problem was a bug in our Unity CI runner. I submitted a pull request that fixes the bug, and switched our pipeline to use my local fork for now. |
@m4xxed has some experience with this LSP client. |
Ah, good to know, thanks! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Only one clarification question and one documentation request.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
All things addressed. Good to go.
Warning
Please do not delete the
lsp
branch yet, as I will keep working on it.Summary
Just in time for Christmas, this prepares the code base for the upcoming integration of the Language Server Protocol into SEE (#686). Additionally, this should resolve license timeouts in the CI, which have recently quite often caused the pipeline to fail.
NuGetForUnity
This integrates NuGetForUnity into SEE, which makes it a lot easier to integrate NuGet packages into SEE without having to extract the package, update it, pull in dependencies, etc.
This additionally has the nice property of downsizing our repository, since only the package names are stored in the repository and the packages themselves are resolved locally.
I have removed all existing packages from the repository that we got from NuGet in the past (FuzzySharp, HtmlAgilityPack, XZCompression) and tracked them in NuGetForUnity.
Note
In the future, when we want to import NuGet packages into SEE, we should do it using the
NuGet
menu option at the top of Unity.Other changes
async
methods' names having to end inAsync
(such that they are not easily overlooked, as they have to be awaited). These fixes account for the majority of changes in this pull request.