diff --git a/NuGet.Config b/NuGet.Config index d7b373fc4c6..372e8b1c311 100644 --- a/NuGet.Config +++ b/NuGet.Config @@ -16,7 +16,7 @@ - + diff --git a/RoslynPackageVersion.txt b/RoslynPackageVersion.txt index fdfd5ef905a..aa2ab8582a8 100644 --- a/RoslynPackageVersion.txt +++ b/RoslynPackageVersion.txt @@ -1 +1 @@ -2.6.0-vs-for-mac-62329-05 +2.8.0-beta1-62707-12 diff --git a/vsintegration/src/FSharp.Editor/Diagnostics/DocumentDiagnosticAnalyzer.fs b/vsintegration/src/FSharp.Editor/Diagnostics/DocumentDiagnosticAnalyzer.fs index 5b8b1744aeb..a9448760200 100644 --- a/vsintegration/src/FSharp.Editor/Diagnostics/DocumentDiagnosticAnalyzer.fs +++ b/vsintegration/src/FSharp.Editor/Diagnostics/DocumentDiagnosticAnalyzer.fs @@ -104,6 +104,8 @@ type internal FSharpDocumentDiagnosticAnalyzer() = return results } + override __.Priority = 10 // Default = 50 + override this.SupportedDiagnostics = RoslynHelpers.SupportedDiagnostics() override this.AnalyzeSyntaxAsync(document: Document, cancellationToken: CancellationToken): Task> = diff --git a/vsintegration/src/FSharp.Editor/Diagnostics/SimplifyNameDiagnosticAnalyzer.fs b/vsintegration/src/FSharp.Editor/Diagnostics/SimplifyNameDiagnosticAnalyzer.fs index cc7c46debb5..29fb3183a29 100644 --- a/vsintegration/src/FSharp.Editor/Diagnostics/SimplifyNameDiagnosticAnalyzer.fs +++ b/vsintegration/src/FSharp.Editor/Diagnostics/SimplifyNameDiagnosticAnalyzer.fs @@ -42,7 +42,7 @@ type internal SimplifyNameDiagnosticAnalyzer() = customTags = DiagnosticCustomTags.Unnecessary) static member LongIdentPropertyKey = "FullName" - + override __.Priority = 100 // Default = 50 override __.SupportedDiagnostics = ImmutableArray.Create Descriptor override this.AnalyzeSyntaxAsync(_, _) = Task.FromResult ImmutableArray.Empty diff --git a/vsintegration/src/FSharp.Editor/Diagnostics/UnusedDeclarationsAnalyzer.fs b/vsintegration/src/FSharp.Editor/Diagnostics/UnusedDeclarationsAnalyzer.fs index 8eb4a1e6d10..7e4a8199008 100644 --- a/vsintegration/src/FSharp.Editor/Diagnostics/UnusedDeclarationsAnalyzer.fs +++ b/vsintegration/src/FSharp.Editor/Diagnostics/UnusedDeclarationsAnalyzer.fs @@ -94,6 +94,8 @@ type internal UnusedDeclarationsAnalyzer() = //#endif unusedRanges + override __.Priority = 80 // Default = 50 + override __.SupportedDiagnostics = ImmutableArray.Create Descriptor override __.AnalyzeSyntaxAsync(_, _) = Task.FromResult ImmutableArray.Empty diff --git a/vsintegration/src/FSharp.Editor/Diagnostics/UnusedOpensDiagnosticAnalyzer.fs b/vsintegration/src/FSharp.Editor/Diagnostics/UnusedOpensDiagnosticAnalyzer.fs index 88568b4a2a2..b8a5b67f66a 100644 --- a/vsintegration/src/FSharp.Editor/Diagnostics/UnusedOpensDiagnosticAnalyzer.fs +++ b/vsintegration/src/FSharp.Editor/Diagnostics/UnusedOpensDiagnosticAnalyzer.fs @@ -35,6 +35,7 @@ type internal UnusedOpensDiagnosticAnalyzer() = isEnabledByDefault = true, customTags = DiagnosticCustomTags.Unnecessary) + override __.Priority = 90 // Default = 50 override __.SupportedDiagnostics = ImmutableArray.Create Descriptor override this.AnalyzeSyntaxAsync(_, _) = Task.FromResult ImmutableArray.Empty diff --git a/vsintegration/src/FSharp.Editor/QuickInfo/Views.fs b/vsintegration/src/FSharp.Editor/QuickInfo/Views.fs index 3445021fa6f..027c8bc446c 100644 --- a/vsintegration/src/FSharp.Editor/QuickInfo/Views.fs +++ b/vsintegration/src/FSharp.Editor/QuickInfo/Views.fs @@ -123,6 +123,7 @@ type internal QuickInfoViewProvider anonymousTypes = empty, usageText = navigable usage, exceptionText = navigable exceptions) + //capturesText = empty) [)>] type FSharpDeferredContentConverter () = @@ -131,4 +132,4 @@ type FSharpDeferredContentConverter () = let fsharpDeferredContent = deferredContent :?> FSharpQuickInfoDeferredContent upcast fsharpDeferredContent.CreateFrameworkElement() member this.GetApplicableType () = - typeof \ No newline at end of file + typeof