-
Notifications
You must be signed in to change notification settings - Fork 223
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
move to omnisharp 0.17.0 #1283
move to omnisharp 0.17.0 #1283
Conversation
Here is an overview of what got changed by this pull request: Issues
======
- Added 3
Complexity increasing per file
==============================
- src/PowerShellEditorServices/Services/Analysis/AnalysisService.cs 2
- src/PowerShellEditorServices/Server/PsesLanguageServer.cs 1
- src/PowerShellEditorServices/Services/TextDocument/Handlers/CodeActionHandler.cs 7
Clones removed
==============
+ src/PowerShellEditorServices/Services/TextDocument/Handlers/DefinitionHandler.cs -1
+ src/PowerShellEditorServices/Services/TextDocument/Handlers/ReferencesHandler.cs -1
See the complete overview on Codacy |
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.
👍
@@ -39,7 +39,7 @@ | |||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> | |||
<PackageReference Include="Microsoft.Extensions.FileSystemGlobbing" Version="3.1.3" /> | |||
<PackageReference Include="Microsoft.Extensions.Logging" Version="3.1.3" /> | |||
<PackageReference Include="OmniSharp.Extensions.LanguageServer" Version="0.16.0" /> | |||
<PackageReference Include="OmniSharp.Extensions.LanguageServer" Version="0.17.0-*" /> |
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.
@TylerLeonhardt @rjmholt
This change broke the build in the last view days because on that myget server, they also publish packages that end with 0.17.0-pullrequest
, which are being used. We should use something like 0.17.0-alpha*
instead.
I opened PR #1299 to fix that and adapt to the new breaking changes in its newer versions
main changes:
Uri
->DocumentUri
long
s ->int
sand requests now have a
.Returning<resultType>(CancellationToken)
and.ReturningNull(CancellationToken)
instead of doing likeSendRequest<Params,Result>(....)
Just waiting on OmniSharp/csharp-language-server-protocol#237done