Skip to content

Commit

Permalink
Merge pull request dotnet#52 from dibarbet/use_new_roslyn
Browse files Browse the repository at this point in the history
Use new roslyn to fix options exceptions
  • Loading branch information
dibarbet authored Nov 7, 2022
2 parents 5ff458c + 141a25b commit 319aa51
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 2 deletions.
6 changes: 4 additions & 2 deletions server/Directory.Packages.props
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@

<PropertyGroup>
<MicrosoftBuildLocatorVersion>1.5.5</MicrosoftBuildLocatorVersion>
<MicrosoftCodeAnalysisVersion>4.5.0-1.22524.1</MicrosoftCodeAnalysisVersion>
<MicrosoftCodeAnalysisVersion>4.5.0-2.22552.19</MicrosoftCodeAnalysisVersion>
<MicrosoftCodeAnalysisCSharpFeaturesVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftCodeAnalysisCSharpFeaturesVersion>
<MicrosoftCodeAnalysisLanguageServerProtocolVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftCodeAnalysisLanguageServerProtocolVersion>
<MicrosoftCodeAnalysisCSharpLanguageServerProtocolVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftCodeAnalysisCSharpLanguageServerProtocolVersion>
<MicrosoftCodeAnalysisVisualBasicLanguageServerProtocolVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftCodeAnalysisVisualBasicLanguageServerProtocolVersion>
<MicrosoftCodeAnalysisWorkspacesDesktopVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftCodeAnalysisWorkspacesDesktopVersion>
<MicrosoftCodeAnalysisWorkspacesMSBuildVersion>$(MicrosoftCodeAnalysisVersion)</MicrosoftCodeAnalysisWorkspacesMSBuildVersion>
<MicrosoftExtensionsLoggingVersion>6.0.0</MicrosoftExtensionsLoggingVersion>
<MicrosoftExtensionsLoggingAbstractionsVersion>6.0.2</MicrosoftExtensionsLoggingAbstractionsVersion>
<MicrosoftExtensionsLoggingConsoleVersion>$(MicrosoftExtensionsLoggingVersion)</MicrosoftExtensionsLoggingConsoleVersion>
<MicrosoftVisualStudioCompositionVersion>17.2.41</MicrosoftVisualStudioCompositionVersion>
<NerdbankStreamsVersion>2.9.112</NerdbankStreamsVersion>
<StreamJsonRpcVersion>2.12.27</StreamJsonRpcVersion>
<StreamJsonRpcVersion>2.13.21-alpha</StreamJsonRpcVersion>
</PropertyGroup>
</Project>
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ public ServerCapabilities GetCapabilities(ClientCapabilities clientCapabilities)
FoldingRangeProvider = roslynCapabilities.FoldingRangeProvider,
DocumentHighlightProvider = roslynCapabilities.DocumentHighlightProvider,
SignatureHelpProvider = roslynCapabilities.SignatureHelpProvider,
DocumentFormattingProvider = roslynCapabilities.DocumentFormattingProvider,
DocumentRangeFormattingProvider = roslynCapabilities.DocumentRangeFormattingProvider,
DocumentOnTypeFormattingProvider = roslynCapabilities.DocumentOnTypeFormattingProvider,
};
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
<ItemGroup>
<PackageReference Include="Microsoft.Build.Locator" Version="$(MicrosoftBuildLocatorVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.LanguageServer.Protocol" Version="$(MicrosoftCodeAnalysisLanguageServerProtocolVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.CSharp.LanguageServer.Protocol" Version="$(MicrosoftCodeAnalysisCSharpLanguageServerProtocolVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.VisualBasic.LanguageServer.Protocol" Version="$(MicrosoftCodeAnalysisVisualBasicLanguageServerProtocolVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.Desktop" Version="$(MicrosoftCodeAnalysisWorkspacesDesktopVersion)" />
<PackageReference Include="Microsoft.CodeAnalysis.Workspaces.MSBuild" Version="$(MicrosoftCodeAnalysisWorkspacesMSBuildVersion)" />
<PackageReference Include="Microsoft.Extensions.Logging" Version="$(MicrosoftExtensionsLoggingVersion)" />
Expand Down

0 comments on commit 319aa51

Please sign in to comment.