-
Notifications
You must be signed in to change notification settings - Fork 4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #54249 from mavasani/LsifHover
LSIF support for hover
- Loading branch information
Showing
11 changed files
with
325 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
30 changes: 30 additions & 0 deletions
30
...eatures/Core/Implementation/IntelliSense/QuickInfo/IntellisenseQuickInfoBuilderContext.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
// Licensed to the .NET Foundation under one or more agreements. | ||
// The .NET Foundation licenses this file to you under the MIT license. | ||
// See the LICENSE file in the project root for more information. | ||
|
||
using System; | ||
using Microsoft.CodeAnalysis.Editor.Host; | ||
using Microsoft.CodeAnalysis.Editor.Shared.Utilities; | ||
|
||
namespace Microsoft.CodeAnalysis.Editor.Implementation.IntelliSense.QuickInfo | ||
{ | ||
/// <summary> | ||
/// Context to build content for quick info item for intellisense. | ||
/// </summary> | ||
internal sealed class IntellisenseQuickInfoBuilderContext | ||
{ | ||
public IntellisenseQuickInfoBuilderContext( | ||
Document document, | ||
IThreadingContext? threadingContext, | ||
Lazy<IStreamingFindUsagesPresenter>? streamingPresenter) | ||
{ | ||
Document = document; | ||
ThreadingContext = threadingContext; | ||
StreamingPresenter = streamingPresenter; | ||
} | ||
|
||
public Document Document { get; } | ||
public IThreadingContext? ThreadingContext { get; } | ||
public Lazy<IStreamingFindUsagesPresenter>? StreamingPresenter { get; } | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.