Skip to content

Commit c4d71d5

Browse files
authored
Add order attribute to PeekableItemSourceProvider
dotnet#80951 slightly broke Peek Definition by making editor pick VS LSP client implementation of IPeekableSourceProvider instead of this one. Similarly to command handlers this provider also needs to be ordered before LSP's one.
1 parent 150b00c commit c4d71d5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/EditorFeatures/Core/Peek/PeekableItemSourceProvider.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ namespace Microsoft.CodeAnalysis.Editor.Implementation.Peek;
1515
[Export(typeof(IPeekableItemSourceProvider))]
1616
[ContentType(ContentTypeNames.RoslynContentType)]
1717
[Name("Roslyn Peekable Item Provider")]
18+
[Order(Before = "LSPPeekableSourceProvider")]
1819
[SupportsStandaloneFiles(true)]
1920
[SupportsPeekRelationship("IsDefinedBy")]
2021
internal sealed class PeekableItemSourceProvider : IPeekableItemSourceProvider

0 commit comments

Comments
 (0)