-
Notifications
You must be signed in to change notification settings - Fork 27
Expand file tree
/
Copy pathJavaQuickInfoSourceProvider.cs
More file actions
54 lines (49 loc) · 1.78 KB
/
Copy pathJavaQuickInfoSourceProvider.cs
File metadata and controls
54 lines (49 loc) · 1.78 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
namespace Tvl.VisualStudio.Language.Java
{
using System.ComponentModel.Composition;
using Microsoft.VisualStudio.Utilities;
using IntelliSenseCache = Tvl.VisualStudio.Language.Java.SourceData.IntelliSenseCache;
using IOutputWindowService = Tvl.VisualStudio.OutputWindow.Interfaces.IOutputWindowService;
using IQuickInfoBroker = Microsoft.VisualStudio.Language.Intellisense.IQuickInfoBroker;
using IQuickInfoSource = Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSource;
using IQuickInfoSourceProvider = Microsoft.VisualStudio.Language.Intellisense.IQuickInfoSourceProvider;
using ITextBuffer = Microsoft.VisualStudio.Text.ITextBuffer;
using PredefinedTaskSchedulers = Tvl.VisualStudio.Shell.PredefinedTaskSchedulers;
using TaskScheduler = System.Threading.Tasks.TaskScheduler;
[Export(typeof(IQuickInfoSourceProvider))]
[Order]
[ContentType(Constants.JavaContentType)]
[Name("JavaQuickInfoSource")]
internal class JavaQuickInfoSourceProvider : IQuickInfoSourceProvider
{
[Import]
public IOutputWindowService OutputWindowService
{
get;
private set;
}
[Import(PredefinedTaskSchedulers.PriorityIntelliSense)]
public TaskScheduler PriorityIntelliSenseTaskScheduler
{
get;
private set;
}
[Import]
public IQuickInfoBroker QuickInfoBroker
{
get;
private set;
}
[Import]
public IntelliSenseCache IntelliSenseCache
{
get;
private set;
}
public IQuickInfoSource TryCreateQuickInfoSource(ITextBuffer textBuffer)
{
// this functionality is currently disabled
return null;
}
}
}