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

move to omnisharp 0.17.0 #1283

Merged

Conversation

TylerLeonhardt
Copy link
Member

@TylerLeonhardt TylerLeonhardt commented May 4, 2020

main changes:

Uri -> DocumentUri
longs -> ints

and requests now have a .Returning<resultType>(CancellationToken) and .ReturningNull(CancellationToken) instead of doing like SendRequest<Params,Result>(....)

Just waiting on OmniSharp/csharp-language-server-protocol#237 done

@TylerLeonhardt TylerLeonhardt changed the title move to omnisharp 0.17.0 (wip) move to omnisharp 0.17.0 May 4, 2020
@TylerLeonhardt
Copy link
Member Author

Codacy 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

@TylerLeonhardt TylerLeonhardt marked this pull request as ready for review May 5, 2020 16:37
@TylerLeonhardt TylerLeonhardt requested a review from rjmholt as a code owner May 5, 2020 16:37
Copy link

@david-driscoll david-driscoll left a comment

Choose a reason for hiding this comment

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

👍

@TylerLeonhardt TylerLeonhardt merged commit 6b50650 into PowerShell:master May 6, 2020
@@ -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-*" />
Copy link
Contributor

@bergmeister bergmeister May 26, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants